1 #ifndef HTML___EXCEPTION__HPP
2 #define HTML___EXCEPTION__HPP
80 case eNullPtr:
return "eNullPtr";
81 case eWrite:
return "eWrite";
82 case eTextUnclosedTag:
return "eTextUnclosedTag";
83 case eTableCellUse:
return "eTableCellUse";
84 case eTableCellType:
return "eTableCellType";
85 case eTemplateAccess:
return "eTemplateAccess";
86 case eTemplateTooBig:
return "eTemplateTooBig";
87 case eEndlessRecursion:
return "eEndlessRecursion";
96 const CException* prev_exception, EErrCode err_code,
97 const string& message,
104 virtual void AddTraceInfo(
const string& node_name);
Incapsulate compile time information such as __FILE__, __LINE__, NCBI_MODULE, current function.
std::ofstream out("events_result.xml")
main entry point for tests
EDiagSev
Severity level for the posted diagnostics.
@ eDiag_Error
Error message.
virtual void ReportExtra(ostream &out) const
Report "non-standard" attributes.
TErrCode GetErrCode(void) const
Get error code.
virtual void x_Assign(const CException &src)
Helper method for copying exception data.
#define NCBI_EXCEPTION_DEFAULT_IMPLEMENTATION(exception_class, base_class)
Helper macro for default exception implementation.
virtual const char * GetErrCodeString(void) const
Get error code interpreted as text.
#define EXCEPTION_VIRTUAL_BASE
Do not use virtual base classes in exception declaration at all, because in this case derived class s...
@ eUnknown
Unknown exception.
virtual const char * GetErrCodeString(void) const override
list< string > m_Trace
Node trace list.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_XHTML_EXPORT
Defines NCBI C++ exception handling.