|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.security.access.AccessDeniedException
public class AccessDeniedException
Thrown if an Authentication
object does not hold a
required authority.
Constructor Summary | |
---|---|
AccessDeniedException(java.lang.String msg)
Constructs an AccessDeniedException with the specified
message. |
|
AccessDeniedException(java.lang.String msg,
java.lang.Throwable t)
Constructs an AccessDeniedException with the specified
message and root cause. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AccessDeniedException(java.lang.String msg)
AccessDeniedException
with the specified
message.
msg
- the detail messagepublic AccessDeniedException(java.lang.String msg, java.lang.Throwable t)
AccessDeniedException
with the specified
message and root cause.
msg
- the detail messaget
- root cause
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |