public class AccessDeniedException extends SecurityException
Constructor and Description |
---|
AccessDeniedException(String message)
Constructs a
AccessDeniedException with the specified detail message. |
AccessDeniedException(String message,
Throwable cause)
Creates a
AccessDeniedException with the specified detail message and cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AccessDeniedException(String message)
AccessDeniedException
with the specified detail message.message
- the detail message.public AccessDeniedException(String message, Throwable cause)
AccessDeniedException
with the specified detail message and cause.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.