Sct::MathsError Class Reference
[Exceptions]

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

#include <MathsError.h>

Inheritance diagram for Sct::MathsError:

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

Collaboration graph
[legend]

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 14 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 19 of file MathsError.h.

References Sct::AbstractThrowable::file, Sct::AbstractThrowable::initialize(), Sct::AbstractThrowable::line, and Sct::AbstractThrowable::msg.

Here is the call graph for this function:

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 27 of file MathsError.h.

References Sct::AbstractThrowable::cause, Sct::AbstractThrowable::file, Sct::AbstractThrowable::initialize(), and Sct::AbstractThrowable::line.

Here is the call graph for this function:

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 34 of file MathsError.h.

References Sct::AbstractThrowable::cause, Sct::AbstractThrowable::file, Sct::AbstractThrowable::initialize(), Sct::AbstractThrowable::line, and Sct::AbstractThrowable::msg.

Here is the call graph for this function:


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