Package org.dspace.authorize
Class AuthorizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dspace.authorize.AuthorizeException
- All Implemented Interfaces:
Serializable
Exception indicating the current user of the context does not have permission
to perform a particular action.
- Version:
- $Revision$
- Author:
- David Stuve
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty authorize exceptionAuthorizeException(String message) create an exception with only a messageAuthorizeException(String message, DSpaceObject o, int a) Create an authorize exception with a messageAuthorizeException(Throwable throwable) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthorizeException
public AuthorizeException()Create an empty authorize exception -
AuthorizeException
create an exception with only a message- Parameters:
message- Exception message
-
AuthorizeException
-
AuthorizeException
Create an authorize exception with a message- Parameters:
message- the messageo- objecta- actionID
-
-
Method Details
-
getAction
public int getAction() -
getObject
-