Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

void PoDoFo::PdfError::AddToCallstack ( const char *  pszFile = NULL,
int  line = 0,
const char *  pszInformation = NULL 
) [inline]

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.

Parameters:
pszFilethe filename of the source file causing the error or NULL. Typically you will use the gcc macro __FILE__ here.
linethe line of source causing the error or 0. Typically you will use the gcc macro __LINE__ here.
pszInformationadditional information on the error. e.g. how to fix the error. This string is intended to be shown to the user.

Definition at line 461 of file PdfError.h.

Referenced by PoDoFo::PdfFontFactory::CreateFontObject(), PoDoFo::PdfFontCache::CreateFontObject(), PoDoFo::PdfEncrypt::CreatePdfEncrypt(), PoDoFo::PdfFlateFilter::DecodeBlockImpl(), PoDoFo::PdfParserObject::DelayedStreamLoadImpl(), PoDoFo::PdfParser::ParseFile(), PoDoFo::PdfParser::QuickEncryptedCheck(), PoDoFo::PdfParser::ReadDocumentStructure(), PoDoFo::PdfParser::ReadObjects(), PoDoFo::PdfParser::ReadObjectsInternal(), PoDoFo::PdfParser::ReadTrailer(), PoDoFo::PdfParser::ReadXRefContents(), SetError(), and PoDoFo::PdfWriter::Write().

{
    m_callStack.push_front( PdfErrorInfo( line, pszFile, pszInformation ) );
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index