5 #ifndef PDFTRON_H_CPPCommonException
6 #define PDFTRON_H_CPPCommonException
12 #include <C/Common/TRN_Exception.h>
45 TRN_Int32 line_number,
46 const char* file_name,
49 TRN_UInt32 error_code = 0);
86 std::ostream&
Print(std::ostream& stream);
97 virtual const char*
what()
const throw();
112 inline std::ostream& operator<<(std::ostream& stream,
Exception& e)
114 return e.Print(stream);
117 #include <Impl/Exception.inl>
122 #endif // PDFTRON_H_CPPCommonException
const char * GetCondExpr()
const char * GetMessage()
std::ostream & Print(std::ostream &stream)
const char * GetFunction()
TRN_UInt32 GetErrorCode()
virtual const char * what() const
const char * GetFileName()
TRN_Int32 GetLineNumber()