|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jcsp.net.security.AccessDeniedException
public class AccessDeniedException
Thrown by the security authority implementations if the credentials supplied are not correct or another error occurs as a result of user parameters.
| Constructor Summary | |
|---|---|
AccessDeniedException(SecurityAuthority auth,
String reason)
Creates a new exeception. |
|
| Method Summary | |
|---|---|
String |
toString()
Returns a printable string describing the exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AccessDeniedException(SecurityAuthority auth,
String reason)
auth - the authority raising the exception.reason - the reason the exception was raised.| Method Detail |
|---|
public String toString()
toString in class Throwable
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||