org.wamblee.security.authorization
Class AuthorizationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.wamblee.security.authorization.AuthorizationException
All Implemented Interfaces:
java.io.Serializable

public class AuthorizationException
extends java.lang.RuntimeException

Authorization exception to be thrown when a resouce may not be accessed.

Author:
Erik Brakkee
See Also:
Serialized Form

Constructor Summary
AuthorizationException(java.lang.Object aResource, Operation aOperation)
          Creates a new AuthorizationException object.
 
Method Summary
 Operation getOperation()
           
 java.lang.Object 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

AuthorizationException

public AuthorizationException(java.lang.Object aResource,
                              Operation aOperation)
Creates a new AuthorizationException object.

Method Detail

getResource

public java.lang.Object getResource()

getOperation

public Operation getOperation()


Copyright © 2022. All Rights Reserved.