com.bradmcevoy.http.exceptions
Class NotAuthorizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bradmcevoy.http.exceptions.MiltonException
              extended by com.bradmcevoy.http.exceptions.NotAuthorizedException
All Implemented Interfaces:
java.io.Serializable

public class NotAuthorizedException
extends MiltonException

Indicates that the current user is not able to perform the requested operation This should not normally be used. Instead, a resource should determine if a user can perform an operation in its authorised method However, this exception allows for cases where the authorised status can only be determined during processing

See Also:
Serialized Form

Constructor Summary
NotAuthorizedException(Resource r)
           
 
Method Summary
 
Methods inherited from class com.bradmcevoy.http.exceptions.MiltonException
getResource
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotAuthorizedException

public NotAuthorizedException(Resource r)


Copyright © 2011. All Rights Reserved.