public class AccessDeniedException
extends java.lang.Exception
Thrown by the security authority implementations if the credentials supplied are not correct or another error occurs as a result of user parameters.
Constructor and Description |
---|
AccessDeniedException(SecurityAuthority auth,
java.lang.String reason)
Creates a new exeception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a printable string describing the exception.
|
public AccessDeniedException(SecurityAuthority auth, java.lang.String reason)
auth
- the authority raising the exception.reason
- the reason the exception was raised.Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.