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

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.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()

getError

public WMError getError()

toString

public java.lang.String toString()

printStackTrace

public final void printStackTrace()

printStackTrace

public final void printStackTrace(java.io.PrintStream stream)

printStackTrace

public final void printStackTrace(java.io.PrintWriter writer)