#include <stlsoft/error/contract_violation.hpp>

Exceptions deriving from this class may be caught, but they result in process termination at the end of the catch clause, or if they're not caught.
Types | |
| typedef unrecoverable | parent_class_type |
| The parent type. | |
| typedef contract_violation | class_type |
| The type of the current instantiation. | |
Public Member Functions | |
Construction | |
| contract_violation () | |
| Default constructor. | |
| contract_violation (void(*pfnHandler)()) | |
| Creates an instance which will call the given function when termination is effected. | |
| contract_violation (char const *error, void(*pfnHandler)()=NULL) | |
| contract_violation (string_type const &error, void(*pfnHandler)()=NULL) | |
| contract_violation (class_type const &rhs) | |
| Copy constructor. | |
| virtual | ~contract_violation () throw () |
Accessors | |
| virtual char const * | what () const throw () |
| Returns a human-readable string describing the exception condition. | |
| typedef unrecoverable parent_class_type |
| typedef contract_violation class_type |
| contract_violation | ( | ) | [inline] |
Default constructor.
| contract_violation | ( | void(*)() | pfnHandler | ) | [inline, explicit] |
Creates an instance which will call the given function when termination is effected.
| contract_violation | ( | class_type const & | rhs | ) | [inline] |
Copy constructor.
| virtual char const* what | ( | ) | const throw () [inline, virtual] |
Returns a human-readable string describing the exception condition.
Reimplemented from unrecoverable.
1.5.6