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:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionA default constructor.A constructor that accepts an error message.ValidationFailedException
(String str, Throwable t) A constructor accepts an error message and original exception.A constructor that accepts a Throwable. -
Method Summary
Methods inherited from class com.ibm.websphere.security.WSSecurityException
addException, getCause, getExceptions, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationFailedException
public ValidationFailedException()A default constructor.
-
ValidationFailedException
A constructor that accepts an error message. The error message can be retrieved using the getMessage() API.
- Parameters:
str
- An error message.
-
ValidationFailedException
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
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.
-