CASException Class Reference
[Exceptions]

The base class of the ECAS specific exception classes. More...

#include <casexception.h>

Inheritance diagram for CASException:

EBufTooSmall ECASGarbageThread_EAGAIN ECASGarbageThread_EDEADLK ECASGarbageThread_EINVAL ECASGarbageThread_ENOMEM ECASGarbageThread_ESRCH ECASGarbageThread_UNKNOWN EDivByZero EDoesNotApply EEvaluateFirst EInternal EInvArg ENotImplemented ENullPtr EUninitializedPtr List of all members.

Public Member Functions

 CASException () throw ()
 Dummy.
const char * what () const throw ()
 Returns the content of msg.
 ~CASException () throw ()
 Dummy.

Protected Attributes

std::string msg
 Attribute holding the message of the exception.

Detailed Description

Contains a private attribute for storing the reason of the exception in human readable form as std::string.

It is derived from std::exception. Therefore, calling CASException::what() reveals the reason for the exception.

Definition at line 70 of file casexception.h.


Constructor & Destructor Documentation

CASException::CASException (  )  throw () [inline]

Dummy constructor for completeness.

Definition at line 86 of file casexception.h.

CASException::~CASException (  )  throw () [inline]

Dummy destructor for completeness

Definition at line 104 of file casexception.h.


Member Function Documentation

const char* CASException::what (  )  const throw () [inline]

Returns the content of msg as C-String. The other class derrived from CASException do not implement this method, rather than derive it.

Returns:
Pointer to a {char *} holding the message.

Definition at line 97 of file casexception.h.


Member Data Documentation

std::string CASException::msg [protected]

This string can be retrieved by calling CASException::what().

Definition at line 78 of file casexception.h.


The documentation for this class was generated from the following file:
Generated on Sun Dec 31 01:57:30 2006 for ECAS by  doxygen 1.4.7