|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.commons.lang.exception.NestableException
com.rhi.architecture.batch.ApplicationException
ApplicationException Class
Field Summary |
Fields inherited from class org.apache.commons.lang.exception.NestableException |
delegate |
Constructor Summary | |
ApplicationException()
Default Constructor |
|
ApplicationException(java.lang.String msg)
Constructor |
|
ApplicationException(java.lang.String msg,
int code)
Constructor |
|
ApplicationException(java.lang.String msg,
java.lang.Throwable cause)
Constructor |
|
ApplicationException(java.lang.String msg,
java.lang.Throwable cause,
int code)
Constructor |
|
ApplicationException(java.lang.Throwable cause)
Constructor |
|
ApplicationException(java.lang.Throwable cause,
int code)
Constructor |
Method Summary | |
int |
getExitCode()
get returnCode |
void |
setExitCode(int exitCode)
set returnCode |
Methods inherited from class org.apache.commons.lang.exception.NestableException |
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ApplicationException()
public ApplicationException(java.lang.String msg)
msg
- - the exception msg.public ApplicationException(java.lang.String msg, int code)
msg
- - the exception msg.code
- - the exit codepublic ApplicationException(java.lang.Throwable cause)
cause
- -the root exception causing the app exception.public ApplicationException(java.lang.Throwable cause, int code)
cause
- -the root exception causing the app exception.code
- - the exit codepublic ApplicationException(java.lang.String msg, java.lang.Throwable cause)
msg
- the reason for the exceptioncause
- - the root cause exception.public ApplicationException(java.lang.String msg, java.lang.Throwable cause, int code)
msg
- the reason for the exceptioncode
- - the exit code.cause
- - the root exceptionMethod Detail |
public int getExitCode()
public void setExitCode(int exitCode)
exitCode
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |