Main Page   Modules   Namespace List   Class Hierarchy   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:

Sct::Error Sct::AbstractThrowable Sct::Throwable Sct::IllegalStateError Sct::InvalidArgumentError Sct::InvariantViolatedError Sct::OutOfRangeError< T > Sct::UnsupportedOperationError

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 Mon Dec 8 18:04:15 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3