|
STK++ 0.9.13
|
Logic errors represent problems in the internal logic of a program; in theory, these are preventable, and even detectable before the program runs (e.g., violations of class invariants). More...
#include <STK_Exceptions.h>

Public Member Functions | |
| logic_error (String const &__arg) | |
| Takes a character String describing the error. | |
| virtual | ~logic_error () throw () |
Public Member Functions inherited from STK::Exception | |
| Exception () throw () | |
| Exception (String const &__arg) throw () | |
| Takes a character String describing the error. | |
| virtual | ~Exception () throw () |
| virtual const String | error () const throw () |
| Returns a C-style character string describing the general cause of the current error. | |
Logic errors represent problems in the internal logic of a program; in theory, these are preventable, and even detectable before the program runs (e.g., violations of class invariants).
One of two subclasses of Exception.
Definition at line 72 of file STK_Exceptions.h.
Takes a character String describing the error.
Definition at line 149 of file STK_Exceptions.h.
|
inlinevirtual | |||||||||||||
Definition at line 150 of file STK_Exceptions.h.