Package com.gigaspaces.security
Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
com.gigaspaces.security.SecurityException
com.gigaspaces.security.AuthenticationException
- All Implemented Interfaces:
Serializable
Thrown if an authentication is invalid. An invalid authentication may be due to bad credentials
(an unknown user, or bad password), or any other exception caught while trying to authenticate.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aAuthenticationExceptionwith no detail message.Constructs aAuthenticationExceptionwith the specified detail message.AuthenticationException(String message, Throwable cause) Creates aAuthenticationExceptionwith the specified detail message and cause.AuthenticationException(Throwable cause) Creates aAuthenticationExceptionwith the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). -
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()Constructs aAuthenticationExceptionwith no detail message. -
AuthenticationException
Constructs aAuthenticationExceptionwith the specified detail message.- Parameters:
s- the detail message.
-
AuthenticationException
Creates aAuthenticationExceptionwith the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
AuthenticationException
Creates aAuthenticationExceptionwith the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-