protlib::ThreadError Class Reference
[Threads]

#include <source/ariba/utility/transport/tcpip/protlib/threads.h>

Inherits protlib::ProtLibException.

Collaboration diagram for protlib::ThreadError:

Collaboration graph
[legend]

List of all members.

Public Types

enum  error_t {
  ERROR_THREAD_CREATION, ERROR_RUNNING, ERROR_STOPPING, ERROR_ABORTING,
  ERROR_STILL_RUNNING, ERROR_UNINITIALIZED, ERROR_INTERNAL, ERROR_NOT_STARTED
}

Public Member Functions

 ThreadError (error_t e)
virtual ~ThreadError () throw ()
virtual const char * getstr () const
virtual const char * what () const throw ()

Public Attributes

const error_t err

Static Protected Attributes

static const char *const errstr []


Detailed Description

This exception will be thrown if there is some trouble with threading.

Definition at line 106 of file threads.h.


Member Enumeration Documentation

Enumerator:
ERROR_THREAD_CREATION 
ERROR_RUNNING 
ERROR_STOPPING 
ERROR_ABORTING 
ERROR_STILL_RUNNING 
ERROR_UNINITIALIZED 
ERROR_INTERNAL 
ERROR_NOT_STARTED 

Definition at line 108 of file threads.h.


Constructor & Destructor Documentation

protlib::ThreadError::ThreadError ( error_t  e  )  [inline]

Definition at line 114 of file threads.h.

virtual protlib::ThreadError::~ThreadError (  )  throw () [inline, virtual]

Definition at line 115 of file threads.h.


Member Function Documentation

virtual const char* protlib::ThreadError::what (  )  const throw () [inline, virtual]

Get a printable string representation of the error.

Warning:
Note that the data this pointer refers to still belongs to the exception object. It is only valid as long as the exception object exists.
Returns:
the error message

Reimplemented from protlib::ProtLibException.

Definition at line 118 of file threads.h.

References getstr().


Member Data Documentation

Definition at line 119 of file threads.h.

Referenced by getstr().


The documentation for this class was generated from the following files:

Generated on Fri Aug 14 23:39:53 2009 for Ariba by  doxygen 1.5.8