uk.ac.soton.itinnovation.grid.pbac2.pdp
Class NotAuthorisedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by org.apache.axis.AxisFault
                      extended by uk.ac.soton.itinnovation.grid.types.GridFailureException
                          extended by uk.ac.soton.itinnovation.grid.pbac2.pdp.ResourceException
                              extended by uk.ac.soton.itinnovation.grid.pbac2.pdp.NotAuthorisedException
All Implemented Interfaces:
Serializable

public class NotAuthorisedException
extends ResourceException

Thrown when the user is not authorised to execute an operation on a resource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.AxisFault
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
NotAuthorisedException(String action, String message)
          Public constructor
NotAuthorisedException(String resourceID, SubjectDescription subject, String action, String message)
          Public constructor
 
Method Summary
 String getAction()
           
 SubjectDescription getSubject()
           
 void setAction(String action)
           
 void setSubject(SubjectDescription subject)
           
 
Methods inherited from class uk.ac.soton.itinnovation.grid.pbac2.pdp.ResourceException
getResourceID, getResourceID, setResourceID
 
Methods inherited from class uk.ac.soton.itinnovation.grid.types.GridFailureException
getBaseFaultQName
 
Methods inherited from class org.apache.axis.AxisFault
addFaultDetail, addFaultDetail, addFaultDetailString, addFaultSubCode, addFaultSubCodeAsString, addHeader, addHostname, addHostnameIfNeeded, clearFaultDetails, clearFaultSubCodes, clearHeaders, dump, dumpToString, getFaultActor, getFaultCode, getFaultDetails, getFaultNode, getFaultReason, getFaultRole, getFaultString, getFaultSubCodes, getHeaders, initFaultSubCodes, lookupFaultDetail, makeFault, output, printStackTrace, printStackTrace, removeFaultDetail, removeHostname, setFaultActor, setFaultCode, setFaultCode, setFaultCodeAsString, setFaultDetail, setFaultDetailString, setFaultNode, setFaultReason, setFaultRole, setFaultString, toString, writeDetails
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotAuthorisedException

public NotAuthorisedException(String resourceID,
                              SubjectDescription subject,
                              String action,
                              String message)
Public constructor

Parameters:
resourceID - the resourceID
subject - the subject description object
action - the action
message - message to pass up to the parent class.

NotAuthorisedException

public NotAuthorisedException(String action,
                              String message)
Public constructor

Parameters:
action - the action
message - message to pass up to the parent class.
Method Detail

getSubject

public SubjectDescription getSubject()

setSubject

public void setSubject(SubjectDescription subject)

getAction

public String getAction()

setAction

public void setAction(String action)


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.