Class AuthorizationException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by
All Implemented Interfaces:

public class AuthorizationException
extends java.lang.RuntimeException

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

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


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

Method Detail


public java.lang.Object getResource()


public Operation getOperation()

Copyright © 2022. All Rights Reserved.