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

Sct::NoSuchStreamerException Class Reference
[Exceptions]

Indicates that there is no Streamer for a given className. More...

#include <IoExceptions.h>

Inheritance diagram for Sct::NoSuchStreamerException:

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

Public Member Functions

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

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

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

 ~NoSuchStreamerException () throw ()
const string & getClassName () const throw ()
 Get the name of the class that there was no streamer for.

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

 NoSuchStreamerException () throw ()

Protected Attributes

string className

Detailed Description

Indicates that there is no Streamer for a given className.

Author:
Matthew Palmer

Definition at line 145 of file IoExceptions.h.


Constructor & Destructor Documentation

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

Creates an Exception with message msg and no cause.

Definition at line 91 of file IoExceptions.cpp.

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

Creates an Exception with a cause.

Useful for simply wrapping exceptions.

Definition at line 97 of file IoExceptions.cpp.

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

Creates an Exception with a message and a cause.

Definition at line 103 of file IoExceptions.cpp.

Sct::NoSuchStreamerException::~NoSuchStreamerException   throw () [inline]
 

Definition at line 163 of file IoExceptions.h.

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

Definition at line 171 of file IoExceptions.h.


Member Function Documentation

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

const string & Sct::NoSuchStreamerException::getClassName   const throw ()
 

Get the name of the class that there was no streamer for.

Definition at line 108 of file IoExceptions.cpp.

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

Gets the detail message for this.

Reimplemented from Sct::AbstractThrowable.

Definition at line 116 of file IoExceptions.cpp.


Field Documentation

string Sct::NoSuchStreamerException::className [protected]
 

Definition at line 173 of file IoExceptions.h.


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