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

Sct::MathsError Class Reference
[Exceptions]

Thrown when an mathametical error has occured e.g. More...

#include <MathsError.h>

Inheritance diagram for Sct::MathsError:

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

Public Member Functions

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

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

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


Protected Member Functions

 MathsError () throw ()

Detailed Description

Thrown when an mathametical error has occured e.g.

divide by zero

Author:
Alan Barr and anglicized by Matthew Palmer

Definition at line 12 of file MathsError.h.


Constructor & Destructor Documentation

Sct::MathsError::MathsError const string &    msg,
const string &    file,
int    line
throw () [inline]
 

Creates an Exception with message msg and no cause.

Definition at line 17 of file MathsError.h.

References Sct::AbstractThrowable::initialize().

Sct::MathsError::MathsError Throwable   cause,
const string &    file,
int    line
throw () [inline]
 

Creates an Exception with a cause.

Useful for simply wrapping exceptions.

Definition at line 25 of file MathsError.h.

References Sct::AbstractThrowable::initialize().

Sct::MathsError::MathsError const string &    msg,
Throwable   cause,
const string &    file,
int    line
throw () [inline]
 

Creates an Exception with a message and a cause.

Definition at line 32 of file MathsError.h.

References Sct::AbstractThrowable::initialize().

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

Definition at line 37 of file MathsError.h.


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