|
hydrobricks
|
Exception for code paths that should never be reached. More...
#include <Exceptions.h>
Public Member Functions | |
| ShouldNotHappen (const char *msg) | |
| ShouldNotHappen (const std::string &msg) | |
| ShouldNotHappen (const wxString &msg) | |
Public Member Functions inherited from HydrobricksError | |
| HydrobricksError (const char *msg) | |
| HydrobricksError (const std::string &msg) | |
| HydrobricksError (const wxString &msg) | |
Exception for code paths that should never be reached.
Used when execution reaches a code path that represents an internal logic error or contract violation. Semantically represents std::logic_error (programmer bug). This indicates a bug in the program itself, not user error.