public class AccessDeniedException extends RuntimeException
Authentication object does not hold a
required authority.| Constructor and Description |
|---|
AccessDeniedException(String msg)
Constructs an
AccessDeniedException with the specified
message. |
AccessDeniedException(String msg,
Throwable t)
Constructs an
AccessDeniedException with the specified
message and root cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AccessDeniedException(String msg)
AccessDeniedException with the specified
message.msg - the detail message