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

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.


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