|
||||||||||
| 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.command.CommandException
public class CommandException
Exception thrown by Commands.
| Constructor Summary | |
|---|---|
CommandException(ErrorCode errorCode,
java.lang.Object... params)
Create a dag command exception. |
|
CommandException(XException cause)
Create an dag command 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 CommandException(XException cause)
cause - the XException cause.
public CommandException(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 | |||||||||