org.ocap.hn
Class NotAuthorizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ocap.hn.NotAuthorizedException
All Implemented Interfaces:
Serializable

public class NotAuthorizedException
extends Exception

Exception indicating that the application has no permission to perform certain action.

See Also:
Serialized Form

Constructor Summary
NotAuthorizedException()
          Constructs a NotAuthorizedException object.
NotAuthorizedException(String reason)
          Constructs a NotAuthorizedException object with a reason.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotAuthorizedException

public NotAuthorizedException()
Constructs a NotAuthorizedException object.


NotAuthorizedException

public NotAuthorizedException(String reason)
Constructs a NotAuthorizedException object with a reason.

Parameters:
reason - reason for this exception