org.eclipse.stardust.common.error
Class WorkflowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.stardust.common.error.WorkflowException
All Implemented Interfaces:
Serializable

public class WorkflowException
extends Exception

This class is used to wrap PublicException and ResourceException instances when engine services are called in EJB context.

See Also:
Serialized Form

Constructor Summary
WorkflowException(Throwable x)
           
 
Method Summary
 Throwable getCause()
          This method returns the inner throwable which caused this workflow exception.
 PublicException getRootCause()
          Deprecated. use getCause() instead This method returns the inner throwable which caused this workflow exception. In case that the inner exception is no instance of PublicException the returned inner exception will be wrapped in a PublicException instance.
 void printStackTrace()
           
 void printStackTrace(PrintStream ps)
           
 void printStackTrace(PrintWriter pw)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowException

public WorkflowException(Throwable x)
Method Detail

getRootCause

public PublicException getRootCause()
Deprecated. use getCause() instead This method returns the inner throwable which caused this workflow exception. In case that the inner exception is no instance of PublicException the returned inner exception will be wrapped in a PublicException instance.

Returns:
null or PublicException

getCause

public Throwable getCause()
This method returns the inner throwable which caused this workflow exception.

Overrides:
getCause in class Throwable
Returns:
null or Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter pw)
Overrides:
printStackTrace in class Throwable


Copyright © 2017 Eclipse Stardust. All Rights Reserved.