CatapultServer  v0.5.0.1 (Elephant)
ExceptionLogging.h File Reference
Include dependency graph for ExceptionLogging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::utils
 

Macros

#define EXCEPTION_DIAGNOSTIC_MESSAGE()   std::endl << boost::current_exception_diagnostic_information()
 Outputs exception diagnostic information on a new line. More...
 
#define UNHANDLED_EXCEPTION_MESSAGE(ACTION)   "unhandled exception while " << ACTION << "!" << EXCEPTION_DIAGNOSTIC_MESSAGE()
 Outputs a message for an unhandled exception that occurred during ACTION. More...
 

Macro Definition Documentation

◆ EXCEPTION_DIAGNOSTIC_MESSAGE

#define EXCEPTION_DIAGNOSTIC_MESSAGE ( )    std::endl << boost::current_exception_diagnostic_information()

Outputs exception diagnostic information on a new line.

◆ UNHANDLED_EXCEPTION_MESSAGE

#define UNHANDLED_EXCEPTION_MESSAGE (   ACTION)    "unhandled exception while " << ACTION << "!" << EXCEPTION_DIAGNOSTIC_MESSAGE()

Outputs a message for an unhandled exception that occurred during ACTION.