|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.oozie.XException
org.apache.oozie.workflow.WorkflowException
public class WorkflowException
Exception thrown by WorkflowJob
and WorkflowLib
.
Constructor Summary | |
---|---|
WorkflowException(ErrorCode errorCode,
java.lang.Object... params)
Create a workflow exception. |
|
WorkflowException(XException cause)
Create an workflow exception from a XException. |
Method Summary |
---|
Methods inherited from class org.apache.oozie.XException |
---|
getErrorCode |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WorkflowException(XException cause)
cause
- the XException cause.public WorkflowException(ErrorCode errorCode, java.lang.Object... params)
errorCode
- error code.params
- parameters for the error code message template.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |