|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apertereports.common.exception.ARRuntimeException
public class ARRuntimeException
Unchecked exception used to propagate errors and handle them in higher level layers.
| Constructor Summary | |
|---|---|
ARRuntimeException(ARConstants.ErrorCode errorCode)
Creates new AR runtime exception |
|
ARRuntimeException(ARConstants.ErrorCode errorCode,
String... details)
Creates new AR runtime exception |
|
ARRuntimeException(ARConstants.ErrorCode errorCode,
Throwable cause)
Creates new AR runtime exception |
|
ARRuntimeException(ARConstants.ErrorCode errorCode,
Throwable cause,
String... details)
Creates new AR runtime exception |
|
ARRuntimeException(ARException e)
Wraps checked exception (business error). |
|
ARRuntimeException(Exception e)
Wraps unknown error. |
|
| Method Summary | |
|---|---|
ARConstants.ErrorCode |
getErrorCode()
Returns error code. |
String[] |
getErrorDetails()
Returns error details |
| 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 ARRuntimeException(ARConstants.ErrorCode errorCode)
errorCode - Error code
public ARRuntimeException(ARConstants.ErrorCode errorCode,
String... details)
errorCode - Error codedetails - Error details
public ARRuntimeException(ARConstants.ErrorCode errorCode,
Throwable cause,
String... details)
errorCode - Error codecause - Causedetails - Error details
public ARRuntimeException(ARConstants.ErrorCode errorCode,
Throwable cause)
errorCode - Error codecause - Causepublic ARRuntimeException(ARException e)
e - Exceptionpublic ARRuntimeException(Exception e)
e - Exception| Method Detail |
|---|
public ARConstants.ErrorCode getErrorCode()
ARConstants.ErrorCode.UNKNOWN
is returned
public String[] getErrorDetails()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||