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

Sct::IoException Sct::Exception Sct::AbstractThrowable Sct::Throwable exception SctCalibrationController::Ipc::RequestException SctCalibrationController::SctApiException

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 Member Functions

 IpcException () throw ()

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.

Sct::IpcException::IpcException   throw () [inline, protected]
 

Definition at line 39 of file IpcException.h.


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 Mon Dec 15 19:37:18 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3