My Project
|
Inherits exception, and Object.
Public Member Functions | |
Exception (const char *file_name, int line_number, const char *function_name, ErrorCode error_code) | |
Constructor, with parameters. More... | |
Exception (const Exception &exception) | |
Constructor, with another exception object. More... | |
~Exception () throw () | |
Destructor. | |
ErrorCode | GetErrCode () const |
Get the error code. More... | |
String | GetMessage () const |
Get the error message string. More... | |
String | GetName () const |
Get the string of error code. More... | |
Exception & | operator= (const Exception &exception) |
Assign operator. More... | |
This class represents the Foxit PDF SDK exception.
foxit::Exception::Exception | ( | const char * | file_name, |
int | line_number, | ||
const char * | function_name, | ||
ErrorCode | error_code | ||
) |
Constructor, with parameters.
[in] | file_name | The name of the file, where the exception occurs. |
[in] | line_number | The number of line, where the exception occurs. |
[in] | function_name | The name of function, where the exception occurs. |
[in] | error_code | The error code value, which represents the meaning of current exception. Please refer to values starting from foxit::e_ErrSuccess and this should be one of these values. |
|
inline |
Constructor, with another exception object.
[in] | exception | Another exception object. |
|
inline |
Get the error code.
|
inline |
Get the error message string.
|
inline |
Get the string of error code.