Sct::InvariantViolatedError Class Reference
[Exceptions]

This error indicates that a class' invariants have been violated somehow. More...

#include <LogicErrors.h>

Inheritance diagram for Sct::InvariantViolatedError:

Inheritance graph
[legend]
Collaboration diagram for Sct::InvariantViolatedError:

Collaboration graph
[legend]

Public Member Functions

 InvariantViolatedError (const string &msg, const string &file, int line) throw ()
 Creates an Exception with message msg and no cause.
 InvariantViolatedError (Throwable &cause, const string &file, int line) throw ()
 Creates an Exception with a cause.
 InvariantViolatedError (const string &msg, Throwable &cause, const string &file, int line) throw ()
 Creates an Exception with a message and a cause.

Protected Member Functions

 InvariantViolatedError () throw ()

Detailed Description

This error indicates that a class' invariants have been violated somehow.

This indicates a serious bug.

Author:
Matthew Palmer

Definition at line 74 of file LogicErrors.h.


Constructor & Destructor Documentation

Sct::InvariantViolatedError::InvariantViolatedError const string &  msg,
const string &  file,
int  line
throw ()
 

Creates an Exception with message msg and no cause.

Definition at line 34 of file LogicErrors.cpp.

Sct::InvariantViolatedError::InvariantViolatedError Throwable cause,
const string &  file,
int  line
throw ()
 

Creates an Exception with a cause.

Useful for simply wrapping exceptions.

Definition at line 38 of file LogicErrors.cpp.

Sct::InvariantViolatedError::InvariantViolatedError const string &  msg,
Throwable cause,
const string &  file,
int  line
throw ()
 

Creates an Exception with a message and a cause.

Definition at line 42 of file LogicErrors.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:03:03 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6