public class IncorrectCredentialsException extends CredentialsException
For example, this exception might be thrown if a user's password is "secret" and "secrets" was entered by mistake.
Whether or not an application wishes to let the user know if they entered incorrect credentials is at the discretion of those responsible for defining the view and what happens when this exception occurs.
Constructor and Description |
---|
IncorrectCredentialsException()
Creates a new IncorrectCredentialsException.
|
IncorrectCredentialsException(String message)
Constructs a new IncorrectCredentialsException.
|
IncorrectCredentialsException(String message,
Throwable cause)
Constructs a new IncorrectCredentialsException.
|
IncorrectCredentialsException(Throwable cause)
Constructs a new IncorrectCredentialsException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IncorrectCredentialsException()
public IncorrectCredentialsException(String message)
message
- the reason for the exceptionpublic IncorrectCredentialsException(Throwable cause)
cause
- the underlying Throwable that caused this exception to be thrown.public IncorrectCredentialsException(String message, Throwable cause)
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.