Package com.gigaspaces.security
Class SecurityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
com.gigaspaces.security.SecurityException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessDeniedException,AuthenticationException,EncodingException,RoleAlreadyExistsException,RoleDataAccessException,RoleNotFoundException,UserAlreadyExistsException,UserDataAccessException,UserNotFoundException
Base class for all security related exceptions.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aSecurityExceptionwith no detail message.Constructs aSecurityExceptionwith the specified detail message.SecurityException(String message, Throwable cause) Creates aSecurityExceptionwith the specified detail message and cause.SecurityException(Throwable cause) Creates aSecurityExceptionwith 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
-
SecurityException
public SecurityException()Constructs aSecurityExceptionwith no detail message. -
SecurityException
Constructs aSecurityExceptionwith the specified detail message.- Parameters:
s- the detail message.
-
SecurityException
Creates aSecurityExceptionwith 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.)
-
SecurityException
Creates aSecurityExceptionwith 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.)
-