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

Sct::Error Class Reference
[Exceptions]

Represents problems that might be more reasonably described as bugs. More...

#include <Exception.h>

Inheritance diagram for Sct::Error:

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

Public Member Functions

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

 Error (Throwable &cause, const string &file, int line) throw ()
 Creates an Exception with a cause.

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


Detailed Description

Represents problems that might be more reasonably described as bugs.

Should probably not be caught except perhaps at top level.

Definition at line 180 of file Exception.h.


Constructor & Destructor Documentation

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

Creates an Exception with message msg and no cause.

Definition at line 95 of file Exception.cpp.

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

Creates an Exception with a cause.

Useful for simply wrapping exceptions.

Definition at line 99 of file Exception.cpp.

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

Creates an Exception with a message and a cause.

Definition at line 103 of file Exception.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Dec 8 18:04:13 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3