org.eclipse.stardust.engine.api.ejb2
Class WorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.stardust.engine.api.ejb2.WorkflowException
- All Implemented Interfaces:
- java.io.Serializable
public class WorkflowException
- extends java.lang.Exception
This class is used to wrap PublicException and ResourceException
instances when engine services are called in EJB context.
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Throwable |
getCause()
This method returns the inner throwable which caused this workflow exception. |
org.eclipse.stardust.common.error.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(java.io.PrintStream ps)
|
void |
printStackTrace(java.io.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 |
WorkflowException
public WorkflowException(java.lang.Throwable x)
WorkflowException
public WorkflowException(org.eclipse.stardust.common.error.PublicException x)
WorkflowException
public WorkflowException(org.eclipse.stardust.common.error.ResourceException x)
getRootCause
public org.eclipse.stardust.common.error.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 java.lang.Throwable getCause()
- This method returns the inner throwable which caused this workflow exception.
- Overrides:
getCause in class java.lang.Throwable
- Returns:
null or Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream ps)
- Overrides:
printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter pw)
- Overrides:
printStackTrace in class java.lang.Throwable
Copyright © 2014 SunGard CSA LLC. All Rights Reserved.