java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | org.springframework.security.access.AccessDeniedException |
Known Direct Subclasses |
Thrown if an Authentication
object does not hold a
required authority.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an
AccessDeniedException with the specified
message. | |||||||||||
Constructs an
AccessDeniedException with the specified
message and root cause. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructs an AccessDeniedException
with the specified
message.
msg | the detail message |
---|
Constructs an AccessDeniedException
with the specified
message and root cause.
msg | the detail message |
---|---|
t | root cause |