Class 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:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • getAction

        public int getAction()