Package wizardquest.auth
Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wizardquest.auth.AuthenticationException
- All Implemented Interfaces:
Serializable
Exception representing an issue relating to user authentication. Either an
authenticated user is required and none is available, or an issue arises with
authenticating a user.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThrow the exception without a message or causeAuthenticationException(String message) Throws the exception with a message to be displayed to the developer.AuthenticationException(String message, Throwable cause) Throws the exception with a message to be displayed to the developer and a cause for the exception being thrown. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationException
public AuthenticationException()Throw the exception without a message or cause -
AuthenticationException
Throws the exception with a message to be displayed to the developer.- Parameters:
message- the message to display.
-
AuthenticationException
Throws the exception with a message to be displayed to the developer and a cause for the exception being thrown.- Parameters:
message- the message to display.cause- the cause for the exception.
-