#include <PdfError.h>
Public Member Functions | |
PdfError () | |
PdfError (const EPdfError &eCode, const char *pszFile=NULL, int line=0, const char *pszInformation=NULL) | |
PdfError (const PdfError &rhs) | |
const PdfError & | operator= (const PdfError &rhs) |
const PdfError & | operator= (const EPdfError &eCode) |
bool | operator== (const PdfError &rhs) |
bool | operator== (const EPdfError &eCode) |
bool | operator!= (const PdfError &rhs) |
bool | operator!= (const EPdfError &eCode) |
EPdfError | GetError () const |
const TDequeErrorInfo & | GetCallstack () const |
void | SetError (const EPdfError &eCode, const char *pszFile=NULL, int line=0, const char *pszInformation=NULL) |
void | SetErrorInformation (const char *pszInformation) |
void | SetErrorInformation (const wchar_t *pszInformation) |
void | AddToCallstack (const char *pszFile=NULL, int line=0, const char *pszInformation=NULL) |
bool | IsError () const |
void | PrintErrorMsg () const |
virtual const char * | what () const throw () |
Static Public Member Functions | |
LogMessageCallback * | SetLogMessageCallback (LogMessageCallback *fLogMessageCallback) |
PODOFO_NOTHROW const char * | ErrorName (EPdfError eCode) |
const char * | ErrorMessage (EPdfError eCode) |
void | LogMessage (ELogSeverity eLogSeverity, const char *pszMsg,...) |
void | LogMessage (ELogSeverity eLogSeverity, const wchar_t *pszMsg,...) |
void | EnableLogging (bool bEnable) |
bool | LoggingEnabled () |
void | DebugMessage (const char *pszMsg,...) |
void | EnableDebug (bool bEnable) |
bool | DebugEnabled () |
A PdfError with Error() == ErrOk means successfull execution.
This class provides also meaningfull error descriptions.
|
Create a PdfError object initialized to ErrOk |
|
Create a PdfError object with a given error code.
|
|
Copy constructor
|
|
Add callstack information to an error object. Always call this function if you get an error object but do not handle the error but throw it again.
|
|
Is the display of debugging messages enabled or not? |
|
Log a message to the logging system defined for PoDoFo for debugging
|
|
Enable or disable the display of debugging messages
|
|
Enable or disable Logging
|
|
Get the error message for a certain error code.
|
|
Get the name for a certain error code.
|
|
Get access to the internal callstack of this error
|
|
Return the error code of this object
|
|
|
|
Is the display of debugging messages enabled or not? |
|
Log a message to the logging system defined for PoDoFo.
|
|
Log a message to the logging system defined for PoDoFo.
|
|
Overloaded comparison operator compares 2 PdfError objects
|
|
Comparison operator compares 2 PdfError objects
|
|
Overloaded assignment operator
|
|
Assignment operator
|
|
Overloaded comparison operator compares 2 PdfError objects
|
|
Comparison operator compares 2 PdfError objects
|
|
Print an error message to stderr |
|
Set the error code of this object.
|
|
Set additional error informatiom
|
|
Set additional error informatiom
|
|
Set a global static LogMessageCallback functor to repleace stderr output in LogMessageInternal
|
|
Reimplemented from std::exception.
|