com.gigaspaces.security
Class AccessDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
com.gigaspaces.security.SecurityException
com.gigaspaces.security.AccessDeniedException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DirectoryAccessDeniedException
public class AccessDeniedException
- extends SecurityException
Thrown if an operation is performed without a required authority.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AccessDeniedException
public AccessDeniedException(String message)
- Constructs a
AccessDeniedException
with the specified detail message.
- Parameters:
message
- the detail message.
AccessDeniedException
public AccessDeniedException(String message,
Throwable cause)
- Creates a
AccessDeniedException
with the specified detail message and cause.
- Parameters:
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the cause is
nonexistent or unknown.)
Copyright © GigaSpaces.