|
||||||||||
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.melati.poem.PoemException org.melati.poem.AccessPoemException
public class AccessPoemException
Thrown when an authorisation problem occurs, that is when
a User
does not have the required Capability
or is not in a Group
with the required Capability
to access a restricted object.
Field Summary | |
---|---|
Capability |
capability
The required Capability. |
AccessToken |
token
The User's Token. |
Fields inherited from class org.melati.poem.PoemException |
---|
subException |
Constructor Summary | |
---|---|
AccessPoemException()
Constructor. |
|
AccessPoemException(AccessPoemException e)
Constructor. |
|
AccessPoemException(AccessToken token,
Capability capability)
Constructor. |
|
AccessPoemException(Exception problem,
AccessToken token,
Capability capability)
Constructor. |
Method Summary | |
---|---|
String |
getActionDescription()
|
String |
getMessage()
The detail message which may be null. |
AccessToken |
getToken()
|
Methods inherited from class org.melati.poem.PoemException |
---|
getCoreMessage, initCause, innermostException, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public AccessToken token
public Capability capability
Constructor Detail |
---|
public AccessPoemException(Exception problem, AccessToken token, Capability capability)
public AccessPoemException(AccessToken token, Capability capability)
public AccessPoemException(AccessPoemException e)
public AccessPoemException()
Method Detail |
---|
public String getActionDescription()
public String getMessage()
PoemException
getMessage
in class PoemException
Throwable.getMessage()
public AccessToken getToken()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |