com.rhi.architecture.parc
Class ProcessingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.lang.exception.NestableException
              extended bycom.rhi.architecture.parc.ProcessingException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable

public class ProcessingException
extends org.apache.commons.lang.exception.NestableException

ProcessingException Class. Used in the interface architecture when an execution thread encounters an unexpected problem. Can be thrown by any element of the pipeline. (inputadapter, pipeline, outputadapter)

Since:
1.0
Author:
Pete McKinstry
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Constructor Summary
ProcessingException()
          Default Constructor
ProcessingException(java.lang.String msg)
          Constructor
ProcessingException(java.lang.String msg, int code)
          Constructor
ProcessingException(java.lang.String msg, java.lang.Throwable cause)
          Constructor
ProcessingException(java.lang.String msg, java.lang.Throwable cause, int code)
          Constructor
ProcessingException(java.lang.Throwable cause)
          Constructor
ProcessingException(java.lang.Throwable cause, int code)
          Constructor
 
Method Summary
 int getExitCode()
          get returnCode
 void setExitCode(int exitCode)
          set returnCode
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessingException

public ProcessingException()
Default Constructor


ProcessingException

public ProcessingException(java.lang.String msg)
Constructor

Parameters:
msg -

ProcessingException

public ProcessingException(java.lang.String msg,
                           int code)
Constructor

Parameters:
msg -
code -

ProcessingException

public ProcessingException(java.lang.Throwable cause)
Constructor

Parameters:
cause -

ProcessingException

public ProcessingException(java.lang.Throwable cause,
                           int code)
Constructor

Parameters:
cause -
code -

ProcessingException

public ProcessingException(java.lang.String msg,
                           java.lang.Throwable cause)
Constructor

Parameters:
msg -
cause -

ProcessingException

public ProcessingException(java.lang.String msg,
                           java.lang.Throwable cause,
                           int code)
Constructor

Parameters:
msg -
cause -
code -
Method Detail

getExitCode

public int getExitCode()
get returnCode

Returns:
int the exit code to be used by the application for this type of error.

setExitCode

public void setExitCode(int exitCode)
set returnCode

Parameters:
exitCode -


Copyright © 2002-2004 Robert Half International. All Rights Reserved.