org.apache.commons.workflow
Class WorkflowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.workflow.WorkflowException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StepException

public class WorkflowException
extends Exception

A WorkflowException is the base class for exceptions related to the workflow engine framework.

Version:
$Revision: 155475 $ $Date: 2005-02-26 13:31:11 +0000 (Sat, 26 Feb 2005) $
Author:
Craig R. McClanahan
See Also:
Serialized Form

Field Summary
protected  Throwable cause
          The underlying cause exception (if any).
 
Constructor Summary
WorkflowException()
          Construct an empty WorkflowException.
WorkflowException(String message)
          Construct a WorkflowException with the specified message.
WorkflowException(String message, Throwable cause)
          Construct a WorkflowException with the specified message and underlying cause.
WorkflowException(Throwable cause)
          Construct a WorkflowException with the specified underlying cause.
 
Method Summary
 Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

cause

protected Throwable cause
The underlying cause exception (if any).

Constructor Detail

WorkflowException

public WorkflowException()
Construct an empty WorkflowException.


WorkflowException

public WorkflowException(String message)
Construct a WorkflowException with the specified message.

Parameters:
message - Message associated with this exception

WorkflowException

public WorkflowException(Throwable cause)
Construct a WorkflowException with the specified underlying cause. [JDK 1.4 compatible]

Parameters:
cause - Underlying root cause

WorkflowException

public WorkflowException(String message,
                         Throwable cause)
Construct a WorkflowException with the specified message and underlying cause. [JDK 1.4 compatbile]

Parameters:
message - Message associated with this exception
cause - Underlying root cause
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.