AccessDeniedException() Constructs a new instance of this class with null as its
detail message.
public
AccessDeniedException(String message) Constructs a new instance of this class with the specified detail
message.
Parameters: message - the detail message.
public
AccessDeniedException(String message, Throwable rootCause) Constructs a new instance of this class with the specified detail
message and root cause.
Parameters: message - the detail message.
Constructs a new instance of this class with null as its
detail message.
AccessDeniedException
public AccessDeniedException(String message)(Code)
Constructs a new instance of this class with the specified detail
message.
Parameters: message - the detail message. The detail message is saved forlater retrieval by the AccessDeniedException.getMessage() method.
Constructs a new instance of this class with the specified detail
message and root cause.
Parameters: message - the detail message. The detail message is saved forlater retrieval by the AccessDeniedException.getMessage() method. Parameters: rootCause - root failure cause