atg.process.action
Class FailedActionInfo

java.lang.Object
  extended by atg.process.action.FailedActionInfo
All Implemented Interfaces:
java.io.Serializable

public class FailedActionInfo
extends java.lang.Object
implements java.io.Serializable

Contains information about a failed action, pertaining to a single process execution context.

See Also:
ActionException, Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
FailedActionInfo(ProcessExecutionContext pContext)
          Constructs a new FailedActionInfo with the given process execution context.
FailedActionInfo(ProcessExecutionContext pContext, java.lang.String pErrorMessage)
          Constructs a new FailedActionInfo with the given process execution context and error message.
FailedActionInfo(ProcessExecutionContext pContext, java.lang.Throwable pException)
          Constructs a new FailedActionInfo with the given process execution context and exception.
 
Method Summary
 ProcessExecutionContext getContext()
          Returns the process execution context for which the action failed.
 java.lang.String getErrorMessage()
          Returns the error message, if any.
 java.lang.Throwable getException()
          Returns the associated exception, if any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

FailedActionInfo

public FailedActionInfo(ProcessExecutionContext pContext)
Constructs a new FailedActionInfo with the given process execution context.


FailedActionInfo

public FailedActionInfo(ProcessExecutionContext pContext,
                        java.lang.String pErrorMessage)
Constructs a new FailedActionInfo with the given process execution context and error message.


FailedActionInfo

public FailedActionInfo(ProcessExecutionContext pContext,
                        java.lang.Throwable pException)
Constructs a new FailedActionInfo with the given process execution context and exception.

Method Detail

getContext

public ProcessExecutionContext getContext()
Returns the process execution context for which the action failed.


getException

public java.lang.Throwable getException()
Returns the associated exception, if any.


getErrorMessage

public java.lang.String getErrorMessage()
Returns the error message, if any.