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

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.


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.

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.

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.


The documentation for this class was generated from the following file:
Generated on Fri Dec 16 19:39:23 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5