Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   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:

Sct::LogicError Sct::Error Sct::AbstractThrowable Sct::Throwable exception

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.

Sct::InvariantViolatedError::InvariantViolatedError   throw () [inline, protected]
 

Definition at line 93 of file LogicErrors.h.


The documentation for this class was generated from the following files:
Generated on Mon Dec 15 19:37:17 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3