public class AccessPoemException extends PoemException
User does not have the required Capability
or is not in a Group with the required Capability
to access a restricted object.| Modifier and Type | Field and Description |
|---|---|
Capability |
capability
The required Capability.
|
AccessToken |
token
The User's Token.
|
subException| Constructor and Description |
|---|
AccessPoemException() |
AccessPoemException(AccessPoemException e) |
AccessPoemException(AccessToken token,
Capability capability) |
AccessPoemException(Exception problem,
AccessToken token,
Capability capability) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActionDescription() |
String |
getMessage()
The detail message which may be null.
|
AccessToken |
getToken() |
getCoreMessage, initCause, innermostException, printStackTrace, printStackTrace, printStackTraceaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, setStackTrace, toStringpublic AccessToken token
public Capability capability
public AccessPoemException(Exception problem, AccessToken token, Capability capability)
public AccessPoemException(AccessToken token, Capability capability)
public AccessPoemException(AccessPoemException e)
public AccessPoemException()
public String getActionDescription()
public String getMessage()
PoemExceptiongetMessage in class PoemExceptionThrowable.getMessage()public AccessToken getToken()
Copyright © 2000–2021 PanEris. All rights reserved.