|
||||||||||
| 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.apertereports.common.exception.ARException
public class ARException
Universal checked exception, indicating errors that must be handled directly.
| Constructor Summary | |
|---|---|
ARException(ARConstants.ErrorCode errorCode)
Creates AR exception |
|
ARException(ARConstants.ErrorCode errorCode,
String... details)
Creates AR exception |
|
ARException(ARConstants.ErrorCode errorCode,
Throwable cause)
Creates AR exception |
|
ARException(Throwable cause)
Creates AR exception |
|
| 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 ARException(ARConstants.ErrorCode errorCode)
errorCode - Error code
public ARException(ARConstants.ErrorCode errorCode,
String... details)
errorCode - Error codedetails - Details
public ARException(ARConstants.ErrorCode errorCode,
Throwable cause)
errorCode - Error codecause - Causepublic ARException(Throwable cause)
cause - Cause| 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 | |||||||||