Class ExceptionData
java.lang.Object
com.inet.pdfc.error.ExceptionData
- All Implemented Interfaces:
com.inet.error.HasErrorCode
- Direct Known Subclasses:
PresenterExceptionData
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionData(int errorCode, String errorClass, String message, String stack) Creates an instance for aThrowable -
Method Summary
-
Constructor Details
-
ExceptionData
Creates an instance for aThrowable- Parameters:
errorCode- the error code if any, hence -1. ErrorCodes are well defined to the application and each plug-in so please don't guess this value. When in doubt, use -1.errorClass- the full qualified class name of the original exception classmessage- the message of the exceptionstack- the stack of the exception- Since:
- 4.0
-
-
Method Details
-
getErrorClass
-
getErrorCode
public int getErrorCode()Returns the error code or -1 if there originalThrowablehad none- Specified by:
getErrorCodein interfacecom.inet.error.HasErrorCode- Returns:
- the error code or -1
- Since:
- 4.0
-
toString
-
getMessage
Returns the message of the root cause- Returns:
- the message of the root cause, may be
nulle.g. for aNullPointerException - Since:
- 4.0
-
getStack
-
equals
-