org.enhydra.shark.api.client.wfmc.wapi
Class WMWorkflowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.enhydra.shark.api.client.wfmc.wapi.WMWorkflowException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WMAttributeAssignmentException, WMConnectException, WMExecuteException, WMInvalidObjectException, WMIOException, WMLockedException, WMNoMoreDataException, WMNotLockedException, WMTransitionNotAllowedException, WMUnsupportedOperationException

public class WMWorkflowException
extends java.lang.Exception

Base class for all WAPI client exceptions.

Author:
Anthony Eden, Adrian Price
See Also:
Serialized Form

Constructor Summary
  WMWorkflowException(java.lang.Exception e)
           
protected WMWorkflowException(WMError error)
           
protected WMWorkflowException(WMError error, java.lang.Exception e)
           
protected WMWorkflowException(WMError error, java.lang.String message)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 WMError getError()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream stream)
           
 void printStackTrace(java.io.PrintWriter writer)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMWorkflowException

public WMWorkflowException(java.lang.Exception e)

WMWorkflowException

protected WMWorkflowException(WMError error)

WMWorkflowException

protected WMWorkflowException(WMError error,
                              java.lang.Exception e)

WMWorkflowException

protected WMWorkflowException(WMError error,
                              java.lang.String message)
Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable

getError

public WMError getError()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

printStackTrace

public final void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public final void printStackTrace(java.io.PrintStream stream)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public final void printStackTrace(java.io.PrintWriter writer)
Overrides:
printStackTrace in class java.lang.Throwable