polybori::PBoRiError Class Reference

This class is used for polybori's exception handling. More...

#include <PBoRiError.h>

Inheritance diagram for polybori::PBoRiError:

polybori::CTypes polybori::COrderEnums polybori::CErrorEnums polybori::CCompareEnums polybori::CAuxTypes polybori::PBoRiGenericError< ErrorCode >

List of all members.

Public Types

typedef CTypes::errornum_type errornum_type
 adopt global error code enumeration
typedef CTypes::errortext_type errortext_type
 adopt global error text type
typedef PBoRiError self
 generic access to type of *this

Public Member Functions

 PBoRiError (errornum_type err=CTypes::alright)
 construct instance from error code
 PBoRiError (const self &)
 copy constructor
 ~PBoRiError () throw ()
 destructor
errornum_type code () const
 get error code
errortext_type text () const
 get error text
const char * what () const throw ()
 std::exception compatible interface

Protected Attributes

errornum_type error


Detailed Description

This class is used for polybori's exception handling.

It's mainly a class wrapper for CTypes::errorcode.


Member Typedef Documentation

adopt global error code enumeration

Reimplemented from polybori::CAuxTypes.

Reimplemented in polybori::PBoRiGenericError< ErrorCode >.

adopt global error text type

Reimplemented from polybori::CAuxTypes.

Reimplemented in polybori::PBoRiGenericError< ErrorCode >.

generic access to type of *this


Constructor & Destructor Documentation

polybori::PBoRiError::PBoRiError ( errornum_type  err = CTypes::alright  ) 

construct instance from error code

References PBORI_TRACE_FUNC.

polybori::PBoRiError::PBoRiError ( const self rhs  ) 

copy constructor

References PBORI_TRACE_FUNC.

polybori::PBoRiError::~PBoRiError (  )  throw ()

destructor

References PBORI_TRACE_FUNC.


Member Function Documentation

PBoRiError::errornum_type polybori::PBoRiError::code (  )  const

get error code

References error, and PBORI_TRACE_FUNC.

PBoRiError::errortext_type polybori::PBoRiError::text (  )  const

get error text

References error, PBORI_TRACE_FUNC, and polybori::CErrorInfo::text().

const char* polybori::PBoRiError::what (  )  const throw () [inline]

std::exception compatible interface


Member Data Documentation

Referenced by code(), and text().


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

Generated on Wed Jan 30 16:39:53 2013 for PolyBoRi by  doxygen 1.5.6