atg.process
Class ProcessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atg.core.exception.ContainerException
              extended by atg.process.ProcessException
All Implemented Interfaces:
ContainableException, java.io.Serializable
Direct Known Subclasses:
ScenarioException

public class ProcessException
extends ContainerException

An exception that occurs when operating on processes.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ProcessException()
          Constructs a new ProcessException.
ProcessException(int pErrorCode)
          Constructs a new ProcessException with the given error code.
ProcessException(java.lang.String pString)
          Constructs a new ProcessException with the given explanation.
ProcessException(java.lang.String pString, int pErrorCode)
          Constructs a new ProcessException with the given explanation and error code.
ProcessException(java.lang.String pString, java.lang.Throwable pRootCause)
          Constructs a new ProcessException with the given explanation and root exception.
ProcessException(java.lang.String pString, java.lang.Throwable pRootCause, int pErrorCode)
          Constructs a new ProcessException with the given explanation, root exception, and error code
ProcessException(java.lang.Throwable pRootCause)
          Constructs a new ProcessException with the given root exception.
ProcessException(java.lang.Throwable pRootCause, int pErrorCode)
          Constructs a new ProcessException with the given root exception and error code.
 
Method Summary
 int getErrorCode()
          Returns the error code for this exception instance.
 void setErrorCode(int pErrorCode)
          Sets an optional error code for this exception instance.
 
Methods inherited from class atg.core.exception.ContainerException
getSourceException, printStackTrace, printStackTrace, printStackTrace, printStackTrace, 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

ProcessException

public ProcessException()
Constructs a new ProcessException.


ProcessException

public ProcessException(int pErrorCode)
Constructs a new ProcessException with the given error code.


ProcessException

public ProcessException(java.lang.String pString)
Constructs a new ProcessException with the given explanation.


ProcessException

public ProcessException(java.lang.String pString,
                        int pErrorCode)
Constructs a new ProcessException with the given explanation and error code.


ProcessException

public ProcessException(java.lang.Throwable pRootCause)
Constructs a new ProcessException with the given root exception.


ProcessException

public ProcessException(java.lang.Throwable pRootCause,
                        int pErrorCode)
Constructs a new ProcessException with the given root exception and error code.


ProcessException

public ProcessException(java.lang.String pString,
                        java.lang.Throwable pRootCause)
Constructs a new ProcessException with the given explanation and root exception.


ProcessException

public ProcessException(java.lang.String pString,
                        java.lang.Throwable pRootCause,
                        int pErrorCode)
Constructs a new ProcessException with the given explanation, root exception, and error code

Method Detail

setErrorCode

public void setErrorCode(int pErrorCode)
Sets an optional error code for this exception instance.

Parameters:
pErrorCode - The exception error code.

getErrorCode

public int getErrorCode()
Returns the error code for this exception instance.

Returns:
The exception error code.