Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

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.


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 Thu Jul 15 09:51:14 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5