org.dspace.authorize
Class AuthorizeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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: 3735 $
Author:
David Stuve
See Also:
Serialized Form

Constructor Summary
AuthorizeException()
          Create an empty authorize exception
AuthorizeException(String message)
          create an exception with only a message
AuthorizeException(String message, DSpaceObject o, int a)
          Create an authorize exception with a message
 
Method Summary
 int getAction()
           
 DSpaceObject getObject()
           
 
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

AuthorizeException

public AuthorizeException()
Create an empty authorize exception


AuthorizeException

public AuthorizeException(String message)
create an exception with only a message

Parameters:
message -

AuthorizeException

public AuthorizeException(String message,
                          DSpaceObject o,
                          int a)
Create an authorize exception with a message

Parameters:
message - the message
Method Detail

getAction

public int getAction()

getObject

public DSpaceObject getObject()


Copyright © 2010 DuraSpace. All Rights Reserved.