Class AuthorizeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dspace.authorize.AuthorizeException
All Implemented Interfaces:
Serializable

public class AuthorizeException extends Exception
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 Details

    • AuthorizeException

      public AuthorizeException()
      Create an empty authorize exception
    • AuthorizeException

      public AuthorizeException(String message)
      create an exception with only a message
      Parameters:
      message - Exception message
    • AuthorizeException

      public AuthorizeException(Throwable throwable)
    • AuthorizeException

      public AuthorizeException(String message, DSpaceObject o, int a)
      Create an authorize exception with a message
      Parameters:
      message - the message
      o - object
      a - actionID
  • Method Details

    • getAction

      public int getAction()
    • getObject

      public DSpaceObject getObject()