public class BadUsernameOrPasswordAuthenticationException extends BadCredentialsAuthenticationException
| Modifier and Type | Field and Description |
|---|---|
static BadUsernameOrPasswordAuthenticationException |
ERROR
Static instance of BadUsernameOrPasswordAuthenticationException.
|
| Constructor and Description |
|---|
BadUsernameOrPasswordAuthenticationException()
Default constructor that does not allow the chaining of exceptions and
uses the default code as the error code for this exception.
|
BadUsernameOrPasswordAuthenticationException(String code)
Constructor that allows for providing a custom error code for this class.
|
BadUsernameOrPasswordAuthenticationException(String code,
Throwable throwable)
Constructor that allows for chaining of exceptions and a custom error
code.
|
BadUsernameOrPasswordAuthenticationException(Throwable throwable)
Constructor that allows for the chaining of exceptions.
|
getTypegetCode, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final BadUsernameOrPasswordAuthenticationException ERROR
public BadUsernameOrPasswordAuthenticationException()
public BadUsernameOrPasswordAuthenticationException(Throwable throwable)
throwable - the chained exception.public BadUsernameOrPasswordAuthenticationException(String code)
code - the custom code to use with this exception.public BadUsernameOrPasswordAuthenticationException(String code, Throwable throwable)
code - the custom error code to use in message resolving.throwable - the chained exception.Copyright © 2004-2015 Apereo. All Rights Reserved.