Exceptions

ECAS specific exceptions. More...

Classes

class  CASException
 The base class of the ECAS specific exception classes. More...
class  EBufTooSmall
 The size of the buffer is too small. More...
class  ECASGarbageThread_EAGAIN
 A CASGarbage thread could not be created. More...
class  ECASGarbageThread_EDEADLK
 The CASGarbage class encountered a dead lock. More...
class  ECASGarbageThread_EINVAL
 A thread function has an invalid value encountered. More...
class  ECASGarbageThread_ENOMEM
 The CASGarbage class ran out of memory. More...
class  ECASGarbageThread_ESRCH
 The CASGarbage class was unable to join a thread. More...
class  ECASGarbageThread_UNKNOWN
 The CASGarbage class encountered an unknown pthread_* error. More...
class  EDivByZero
 Division by zero. More...
class  EDoesNotApply
 A method was called which does not apply to a certain object. More...
class  EEvaluateFirst
 An method was called which expects the CASObject being evaluated. More...
class  EInternal
 Thrown if unexpected condition occurs. More...
class  EInvArg
 Indicates an invalid argument which has been passed. More...
class  ENotImplemented
 The method called is not implemented. More...
class  ENullPtr
 An unexpected NULL pointer. More...
class  EUninitializedPtr
 Thrown if an unitialized pointer variable has been encountered. More...

Functions

void checkptr (const void *ptr)
 Function to ease the check of pointers for NULL.

Detailed Description

ECAS specific exceptions. All ECAS specific exceptions are derived from CASException which in turn is derived from std::exception.

Function Documentation

void checkptr ( const void *  ptr  )  [inline]

Use this function to check a pointer for NULL value. If the pointer is NULL, it throws ENullPtr.

Parameters:
ptr Void pointer to check.
Returns:
Does not return a value. However, if the pointer passed is NULL, it throws a ENullPtr exception.

Definition at line 547 of file casexception.h.


Generated on Sun Dec 31 01:57:28 2006 for ECAS by  doxygen 1.4.7