org.apache.oozie.workflow
Class WorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.oozie.XException
org.apache.oozie.workflow.WorkflowException
- All Implemented Interfaces:
- Serializable
public class WorkflowException
- extends XException
Exception thrown by WorkflowJob
and WorkflowLib
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
WorkflowException
public WorkflowException(XException cause)
- Create an workflow exception from a XException.
- Parameters:
cause
- the XException cause.
WorkflowException
public WorkflowException(ErrorCode errorCode,
Object... params)
- Create a workflow exception.
- Parameters:
errorCode
- error code.params
- parameters for the error code message template.
Copyright © 2013 Apache Software Foundation. All Rights Reserved.