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

Sct::IpcException Class Reference
[Exceptions]

Thrown to indicate an error with an Ipc call. More...

#include <IpcException.h>

Inheritance diagram for Sct::IpcException:

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

Collaboration graph
[legend]

Public Member Functions

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

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

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

const ilu_Exception & getIluException () const throw ()
 Get the Ilu message.

virtual shared_ptr< Throwableclone () const throw ()
 Necessary for chaining of exceptions unfortunately.

virtual string getMessage () const throw ()
 Gets the detail message for this.


Protected Attributes

ilu_Exception iluMsg
 Holds the ILU message.


Detailed Description

Thrown to indicate an error with an Ipc call.

Author:
Alan Barr

Definition at line 14 of file IpcException.h.


Constructor & Destructor Documentation

Sct::IpcException::IpcException const ilu_Exception &  error,
const string &  msg,
const string &  file,
int  line
throw ()
 

Creates an Exception with message msg and no cause.

Definition at line 6 of file IpcException.cpp.

Sct::IpcException::IpcException const ilu_Exception &  error,
Throwable cause,
const string &  file,
int  line
throw ()
 

Creates an Exception with a cause.

Useful for simply wrapping exceptions.

Definition at line 10 of file IpcException.cpp.

Sct::IpcException::IpcException const ilu_Exception &  error,
const string &  msg,
Throwable cause,
const string &  file,
int  line
throw ()
 

Creates an Exception with a message and a cause.

Definition at line 14 of file IpcException.cpp.


Member Function Documentation

shared_ptr< Throwable > Sct::IpcException::clone  )  const throw () [virtual]
 

Necessary for chaining of exceptions unfortunately.

Should return a copy of this allocated on the heap. It is necessary for sub-classes to override this if they add new data members or if they do and special processing in what() or sentToMrs()

Reimplemented from Sct::AbstractThrowable.

Definition at line 23 of file IpcException.cpp.

const ilu_Exception & Sct::IpcException::getIluException  )  const throw ()
 

Get the Ilu message.

Definition at line 19 of file IpcException.cpp.

string Sct::IpcException::getMessage  )  const throw () [virtual]
 

Gets the detail message for this.

Reimplemented from Sct::AbstractThrowable.

Definition at line 27 of file IpcException.cpp.


Field Documentation

ilu_Exception Sct::IpcException::iluMsg [protected]
 

Holds the ILU message.

Definition at line 38 of file IpcException.h.


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