#include <op_exception.h>
Public Member Functions | |
op_fatal_error (std::string const &msg) | |
char const * | what () const throw () |
fatal exception, never catch it except at top level (likely main or gui). Intended to replace cerr << "blah"; exit(EXIT_FAILURE); by a throw op_fatal_error("blah") when returning error code is not an option
Definition at line 44 of file op_exception.h.
op_fatal_error::op_fatal_error | ( | std::string const & | msg | ) | [explicit] |
char const * op_exception::what | ( | ) | const throw () [inherited] |
Definition at line 28 of file op_exception.cpp.
References op_exception::message.
Referenced by main(), and run_pp_tool().