atg.workflow
Class ActorAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atg.core.exception.ContainerException
              extended by atg.workflow.WorkflowException
                  extended by atg.workflow.ActorAccessException
All Implemented Interfaces:
ContainableException, java.io.Serializable

public class ActorAccessException
extends WorkflowException

An exception that can occur when attempting to execute a task on behalf of a user who isn't authorized to perform it.

See Also:
WorkflowView, Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ActorAccessException()
          Constructs a new ActorAccessException based on failure of an ACL-based security check.
ActorAccessException(java.lang.String pMessage)
          Constructs a new ActorAccessException with the given message, based on failure of an ACL-based security check.
ActorAccessException(java.lang.String pMessage, DirectoryPrincipal pOwningUser)
          Constructs a new ActorAccessException with the given message, based on failure of an ownership-based security check.
 
Method Summary
 DirectoryPrincipal getOwningUser()
          Returns the DirectoryPrincipal whose ownership of some object forbids access, or null if access was prevented by an ACL-based security check.
 
Methods inherited from class atg.core.exception.ContainerException
getMessageArguments, getSourceException, printStackTrace, printStackTrace, printStackTrace, printStackTrace, setMessageArguments, setSourceException, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

ActorAccessException

public ActorAccessException()
Constructs a new ActorAccessException based on failure of an ACL-based security check.


ActorAccessException

public ActorAccessException(java.lang.String pMessage)
Constructs a new ActorAccessException with the given message, based on failure of an ACL-based security check.


ActorAccessException

public ActorAccessException(java.lang.String pMessage,
                            DirectoryPrincipal pOwningUser)
Constructs a new ActorAccessException with the given message, based on failure of an ownership-based security check.

Parameters:
pOwningUser - the user whose ownership caused the access failure
Method Detail

getOwningUser

public DirectoryPrincipal getOwningUser()
Returns the DirectoryPrincipal whose ownership of some object forbids access, or null if access was prevented by an ACL-based security check.

Returns:
the user whose ownership caused the access failure