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

Sct::IsException Class Reference
[Exceptions]

Thrown to indicate an error from the Information Service. More...

#include <IoExceptions.h>

Inheritance diagram for Sct::IsException:

Sct::IoException Sct::Exception Sct::AbstractThrowable Sct::Throwable exception

Public Member Functions

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

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

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

int getStatus () const throw ()
 Get the status code that IS returned.

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

 IsException () throw ()

Protected Attributes

int status

Detailed Description

Thrown to indicate an error from the Information Service.

Author:
Alan Barr
Todo:
Add meaningful information here.

Definition at line 45 of file IoExceptions.h.


Constructor & Destructor Documentation

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

Creates an Exception with message msg and no cause.

Definition at line 19 of file IoExceptions.cpp.

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

Creates an Exception with a cause.

Useful for simply wrapping exceptions.

Definition at line 23 of file IoExceptions.cpp.

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

Creates an Exception with a message and a cause.

Definition at line 27 of file IoExceptions.cpp.

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

Definition at line 69 of file IoExceptions.h.


Member Function Documentation

shared_ptr< Throwable > Sct::IsException::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 35 of file IoExceptions.cpp.

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

Gets the detail message for this.

Reimplemented from Sct::AbstractThrowable.

Definition at line 39 of file IoExceptions.cpp.

int Sct::IsException::getStatus   const throw ()
 

Get the status code that IS returned.

Definition at line 31 of file IoExceptions.cpp.


Field Documentation

int Sct::IsException::status [protected]
 

Definition at line 71 of file IoExceptions.h.


The documentation for this class was generated from the following files:
Generated on Mon Dec 15 19:37:19 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3