CSP for Java
(JCSP) 1.1-rc4

Class AccessDeniedException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jcsp.net.security.AccessDeniedException
All Implemented Interfaces:

public class AccessDeniedException
extends Exception

Thrown by the security authority implementations if the credentials supplied are not correct or another error occurs as a result of user parameters.

Quickstone Technologies Limited
See Also:
Serialized Form

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)
Creates a new exeception.

auth - the authority raising the exception.
reason - the reason the exception was raised.
Method Detail


public String toString()
Returns a printable string describing the exception.

toString in class Throwable

CSP for Java
(JCSP) 1.1-rc4

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.