#include <Bugcheck.h>
Static Public Member Functions | |
| static void | assertion (const char *cond, const char *file, int line) |
| static void | bugcheck (const char *file, int line) |
| static void | bugcheck (const char *msg, const char *file, int line) |
| static void | debugger (const char *file, int line) |
| static void | debugger (const char *msg, const char *file, int line) |
| static void | nullPointer (const char *ptr, const char *file, int line) |
Static Protected Member Functions | |
| static std::string | what (const char *msg, const char *file, int line) |
This class provides some static methods that are used by the poco_assert_dbg(), poco_assert(), poco_check_ptr() and poco_bugcheck() macros. You should not invoke these methods directly. Use the macros instead, as they automatically provide useful context information.
Definition at line 53 of file Bugcheck.h.
| void Poco::Bugcheck::assertion | ( | const char * | cond, |
| const char * | file, | ||
| int | line | ||
| ) | [static] |
Definition at line 46 of file Bugcheck.cpp.
| void Poco::Bugcheck::bugcheck | ( | const char * | file, |
| int | line | ||
| ) | [static] |
An null pointer was encountered. Break into the debugger, if possible, then throw an NullPointerException.
Definition at line 60 of file Bugcheck.cpp.
| void Poco::Bugcheck::bugcheck | ( | const char * | msg, |
| const char * | file, | ||
| int | line | ||
| ) | [static] |
An internal error was encountered. Break into the debugger, if possible, then throw an BugcheckException.
Definition at line 67 of file Bugcheck.cpp.
| void Poco::Bugcheck::debugger | ( | const char * | file, |
| int | line | ||
| ) | [static] |
An internal error was encountered. Break into the debugger, if possible, then throw an BugcheckException.
Definition at line 80 of file Bugcheck.cpp.
| void Poco::Bugcheck::debugger | ( | const char * | msg, |
| const char * | file, | ||
| int | line | ||
| ) | [static] |
An internal error was encountered. Break into the debugger, if possible.
Definition at line 86 of file Bugcheck.cpp.
| void Poco::Bugcheck::nullPointer | ( | const char * | ptr, |
| const char * | file, | ||
| int | line | ||
| ) | [static] |
An assertion failed. Break into the debugger, if possible, then throw an AssertionViolationException.
Definition at line 53 of file Bugcheck.cpp.
| std::string Poco::Bugcheck::what | ( | const char * | msg, |
| const char * | file, | ||
| int | line | ||
| ) | [static, protected] |
An internal error was encountered. Break into the debugger, if possible.
Definition at line 92 of file Bugcheck.cpp.