org.jplate.foundation.processor
Class ProcessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jplate.JPlateException
              extended by org.jplate.foundation.FoundationException
                  extended by org.jplate.foundation.processor.ProcessException
All Implemented Interfaces:
java.io.Serializable

public class ProcessException
extends FoundationException

This is the base class of all processor exceptions.

Modifications:
    $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
    $Revision: 479 $
    $Author: sfloess $
    $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/processor/ProcessException.java $
    

See Also:
Serialized Form

Field Summary
private  java.lang.Object _processed
          The object processed that caused self to be raised.
 
Constructor Summary
protected ProcessException()
          Default constructor not allowed.
  ProcessException(java.lang.Object processed)
          This constructor sets the processed that caused self to be raised.
  ProcessException(java.lang.String msg, java.lang.Object processed)
          This constructor sets the message and the object processed that caused self to be raised.
  ProcessException(java.lang.String msg, java.lang.Throwable rootCause, java.lang.Object processed)
          This constructor sets the message, root cause and object processed that caused self to be raised.
  ProcessException(java.lang.Throwable rootCause, java.lang.Object processed)
          This constructor sets the root cause and the object processed that caused self to be raised.
 
Method Summary
 java.lang.Object getProcessed()
          This method will return the object processed that caused self to be raised.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_processed

private final java.lang.Object _processed
The object processed that caused self to be raised.

Constructor Detail

ProcessException

protected ProcessException()
Default constructor not allowed.

Throws:
java.lang.UnsupportedOperationException - If this constructor is called.

ProcessException

public ProcessException(java.lang.Object processed)
This constructor sets the processed that caused self to be raised.

Parameters:
processed - The processed object that caused self to be raised.

ProcessException

public ProcessException(java.lang.String msg,
                        java.lang.Object processed)
This constructor sets the message and the object processed that caused self to be raised.

Parameters:
msg - A message about why self was raised.
processed - The object processed that caused self to be raised.

ProcessException

public ProcessException(java.lang.Throwable rootCause,
                        java.lang.Object processed)
This constructor sets the root cause and the object processed that caused self to be raised.

Parameters:
rootCause - The exception that caused self to be raised.
processed - The object processed that caused self to be raised.

ProcessException

public ProcessException(java.lang.String msg,
                        java.lang.Throwable rootCause,
                        java.lang.Object processed)
This constructor sets the message, root cause and object processed that caused self to be raised.

Parameters:
msg - A message about why self was raised.
rootCause - The exception that caused self to be raised.
processed - The object processed that caused self to be raised.
Method Detail

getProcessed

public java.lang.Object getProcessed()
This method will return the object processed that caused self to be raised.

Returns:
The object processed that caused self to be raised.