public class WorkflowException extends XException
WorkflowJob
and WorkflowLib
.Constructor and Description |
---|
WorkflowException(ErrorCode errorCode,
Object... params)
Create a workflow exception.
|
WorkflowException(XException cause)
Create an workflow exception from a XException.
|
getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WorkflowException(XException cause)
cause
- the XException cause.public WorkflowException(ErrorCode errorCode, Object... params)
errorCode
- error code.params
- parameters for the error code message template.Copyright © 2014 Apache Software Foundation. All Rights Reserved.