Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | 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 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.

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.

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.


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:51:27 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5