hydrobricks
Loading...
Searching...
No Matches
ShouldNotHappen Class Reference

Exception for code paths that should never be reached. More...

#include <Exceptions.h>

Inheritance diagram for ShouldNotHappen:
HydrobricksError

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)
 

Detailed Description

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.


The documentation for this class was generated from the following file: