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

Sct::Exception Class Reference
[Exceptions]

Represents genuinely exceptional events (such as resource acquisition failure). More...

#include <Exception.h>

Inheritance diagram for Sct::Exception:

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

Collaboration graph
[legend]

Public Member Functions

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

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

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


Detailed Description

Represents genuinely exceptional events (such as resource acquisition failure).

Author:
Alan Barr and refactored by Matthew Palmer

Definition at line 153 of file Exception.h.


Constructor & Destructor Documentation

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

Creates an Exception with message msg and no cause.

Definition at line 81 of file Exception.cpp.

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

Creates an Exception with a cause.

Useful for simply wrapping exceptions.

Definition at line 85 of file Exception.cpp.

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

Creates an Exception with a message and a cause.

Definition at line 89 of file Exception.cpp.


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