OSB_APP::AppException Class Reference

Inheritance diagram for OSB_APP::AppException:

Inheritance graph
Collaboration diagram for OSB_APP::AppException:

Collaboration graph
List of all members.

Detailed Description

AppException, exceptions of OSB application.

Exceptions thrown by the OSB applications

Definition at line 95 of file apperror.h.

Public Member Functions

Static Private Attributes

Constructor & Destructor Documentation

OSB_APP::AppException::AppException ( ErrorNo  e  )  [inline]

Constructor with error number.

Definition at line 196 of file apperror.h.

OSB_APP::AppException::AppException ( ErrorNo  no,
const Args args 
) [inline]

Constructor with error number and arguments.

Definition at line 202 of file apperror.h.

Member Function Documentation

template<typename T>
AppException & OSB_APP::AppException::operator<< ( const T &  t  )  [inline]

Add an argument to the exception.

The member is needed to make the following possible:
          void foo(const Contract& co) {
              throw AppException(27) << co.oid();

Reimplemented from OSB_LIB::BaseError.

Definition at line 216 of file apperror.h.

References operator<<().

const char *const OSB_APP::AppException::prefix (  )  const [inline, virtual]

Access error code.

Implements OSB_LIB::BaseError.

Definition at line 210 of file apperror.h.

References prefix_.

Member Data Documentation

const char* const OSB_APP::AppException::prefix_ [static, private]

The error prefix.

Definition at line 126 of file apperror.h.

Referenced by prefix().

The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:17:22 2006 for OSB Library by  doxygen 1.4.7