Inherits Exception.
Public Member Functions | |
PDFException (int errCode) | |
PDFException (int errCode, String errMsg) | |
int | getLastError () |
String | getMessage () |
Class PDFException
represents an errCode object thrown by Foxit PDF SDK functions for some error cases.
This class offers constant definitions of error code for exceptions and functions to get error code or error message from an errCode.
com.foxit.sdk.PDFException.PDFException | ( | int | errCode | ) |
Construct a new PDFException
object with the specified error code.
It is not a elegant way to use static constant in the EXCEPTION CLASS! SO NOT recommended for use,it maybe disappear at some future date.
errCode | A specified error code. This should be one of constant definitions PDFException. |
com.foxit.sdk.PDFException.PDFException | ( | int | errCode, |
String | errMsg | ||
) |
Construct a new PDFException
object with the specified error code and error message.
errCode | A specified error code. This should be one of constant definitions com.foxit.sdk.common.Constants. |
errMsg | A specified error message. |
int com.foxit.sdk.PDFException.getLastError | ( | ) |
Get current error code.
String com.foxit.sdk.PDFException.getMessage | ( | ) |
Get current error message.