Sct::LogicError Class Reference
[Exceptions]

Logic errors represent internal problems in the logic of the program. More...

#include <LogicErrors.h>

Inheritance diagram for Sct::LogicError:

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

Collaboration graph
[legend]

Public Member Functions

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

Protected Member Functions

 LogicError () throw ()

Detailed Description

Logic errors represent internal problems in the logic of the program.

These are (in theory) preventable, and even detectable before the program runs.

Author:
Alan Barr

Definition at line 14 of file LogicErrors.h.


Constructor & Destructor Documentation

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

Creates an Exception with message msg and no cause.

Definition at line 5 of file LogicErrors.cpp.

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

Creates an Exception with a cause.

Useful for simply wrapping exceptions.

Definition at line 9 of file LogicErrors.cpp.

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

Creates an Exception with a message and a cause.

Definition at line 13 of file LogicErrors.cpp.


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