OSB_DB::ChildFound Class Reference

Inheritance diagram for OSB_DB::ChildFound:

Inheritance graph
[legend]
Collaboration diagram for OSB_DB::ChildFound:

Collaboration graph
[legend]
List of all members.

Detailed Description

Exception for foreign key violations: child records found.

This exception is thrown by the gateways if child records are found during the deletion or update of parent records.

Definition at line 96 of file dberror.h.

Public Member Functions

Static Private Attributes


Constructor & Destructor Documentation

OSB_DB::ChildFound::ChildFound ( const std::string &  dbMsg  )  [inline, explicit]

Constructor with message from database server.

Definition at line 99 of file dberror.h.

OSB_DB::ChildFound::ChildFound ( long  dbErrNo,
const std::string &  dbMsg 
) [inline]

Constructor with database error number and message.

Definition at line 106 of file dberror.h.

OSB_DB::ChildFound::ChildFound ( ErrorNo  errNo,
long  dbErrNo,
const std::string &  dbMsg 
) [inline]

Constructor with OSB error number, database error number and message.

Definition at line 117 of file dberror.h.


Member Data Documentation

const ErrorNo OSB_DB::ChildFound::defErrorNo_ = 83 [static, private]

Default error number for database errors of this kind.

Reimplemented from OSB_DB::DbException.

Definition at line 127 of file dberror.h.


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