Package com.ibm.websphere.security.auth
Class ValidationFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- com.ibm.websphere.security.WSSecurityException
-
- com.ibm.websphere.security.auth.InvalidTokenException
-
- com.ibm.websphere.security.auth.ValidationFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class ValidationFailedException extends InvalidTokenException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationFailedException()
A default constructor.ValidationFailedException(java.lang.String str)
A constructor that accepts an error message.ValidationFailedException(java.lang.String str, java.lang.Throwable t)
A constructor accepts an error message and original exception.ValidationFailedException(java.lang.Throwable t)
A constructor that accepts a Throwable.
-
Method Summary
-
Methods inherited from class com.ibm.websphere.security.WSSecurityException
addException, getCause, getExceptions, printStackTrace
-
-
-
-
Constructor Detail
-
ValidationFailedException
public ValidationFailedException()
A default constructor.
-
ValidationFailedException
public ValidationFailedException(java.lang.String str)
A constructor that accepts an error message. The error message can be retrieved using the getMessage() API.
- Parameters:
str
- An error message.
-
ValidationFailedException
public ValidationFailedException(java.lang.Throwable t)
A constructor that accepts a Throwable. The Throwable can be retrieved using the getExceptions() or getCause() API.
- Parameters:
t
- Any exception type that extends Throwable.
-
ValidationFailedException
public ValidationFailedException(java.lang.String str, java.lang.Throwable t)
A constructor accepts an error message and original exception. The exception will be added to an ArrayList and other exceptions may be added along the way. The error message can be retrieved using the getMessage() API.
- Parameters:
str
- An error message.t
- Any exception type that extends Throwable.
-
-