|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.jasig.cas.authentication.handler.AuthenticationException org.jasig.cas.authentication.handler.BadCredentialsAuthenticationException
Generic Bad Credentials Exception. This can be thrown when the system knows the credentials are not valid specificially because they are bad. Subclasses can be specific to a certain type of Credentials (BadUsernamePassowrdCredentials).
Field Summary | |
static BadCredentialsAuthenticationException |
ERROR
Static instance of class to prevent cost incurred by creating new instance. |
Constructor Summary | |
BadCredentialsAuthenticationException()
Default constructor that does not allow the chaining of exceptions and uses the default code as the error code for this exception. |
|
BadCredentialsAuthenticationException(java.lang.String code)
Constructor method to allow for providing a custom code to associate with this exception. |
|
BadCredentialsAuthenticationException(java.lang.String code,
java.lang.Throwable throwable)
Constructor to allow for the chaining of exceptions and use of a non-default code. |
|
BadCredentialsAuthenticationException(java.lang.Throwable throwable)
Constructor to allow for the chaining of exceptions. |
Methods inherited from class org.jasig.cas.authentication.handler.AuthenticationException |
getCode, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final BadCredentialsAuthenticationException ERROR
Constructor Detail |
public BadCredentialsAuthenticationException()
public BadCredentialsAuthenticationException(java.lang.Throwable throwable)
throwable
- the chainable exception.public BadCredentialsAuthenticationException(java.lang.String code)
code
- the code to use.public BadCredentialsAuthenticationException(java.lang.String code, java.lang.Throwable throwable)
code
- the user-specified code.throwable
- the chainable exception.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |