| 
||||||||||
| 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.action.ActionExecutorException
public class ActionExecutorException
ActionExecutor exception.
The exception provides information regarding the transient/no-transient/fatal nature of the exception.
| Nested Class Summary | |
|---|---|
static class | 
ActionExecutorException.ErrorType
Enum that defines the type of error an ActionExecutor has produced. | 
| Constructor Summary | |
|---|---|
ActionExecutorException(ActionExecutorException.ErrorType errorType,
                                               String errorCode,
                                               String message)
Create an action executor exception.  | 
|
ActionExecutorException(ActionExecutorException.ErrorType errorType,
                                               String errorCode,
                                               String messageTemplate,
                                               Object... params)
Create an action executor exception.  | 
|
| Method Summary | |
|---|---|
 String | 
getErrorCode()
Return the error code of the exception.  | 
 ActionExecutorException.ErrorType | 
getErrorType()
Return the error type of the exception.  | 
| 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 ActionExecutorException(ActionExecutorException.ErrorType errorType,
                               String errorCode,
                               String message)
errorType - the error type.errorCode - the error code.message - the error message.
public ActionExecutorException(ActionExecutorException.ErrorType errorType,
                               String errorCode,
                               String messageTemplate,
                               Object... params)
errorType - the error type.errorCode - the error code.messageTemplate - the error message.params - parameters used to create the exception message together with the messageTemplate. If the last
 parameter is an Exception it is used as the exception cause.| Method Detail | 
|---|
public ActionExecutorException.ErrorType getErrorType()
public String getErrorCode()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||