org.eclipse.stardust.common.error
Class WorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
WorkflowException
public WorkflowException(Throwable x)
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.