Open-RJ C/C++ User's Journal Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

DatabaseException Class Reference

#include <openrj/cpp/openrj.hpp>

List of all members.


Detailed Description

The exception type thrown by the Open-RJ - C++ mapping.


Public Member Functions

 DatabaseException (ORJRC rc, ORJError const &error)
 Construct from result code and error structure.
ORJRC rc () const
 The result code associated with the exception.
ORJError const & error () const
 The error structure associated with the exception, when rc() returns ORJ_RC_PARSEERROR.
char const * what () const throw ()
 C-string form of the exception.


Constructor & Destructor Documentation

DatabaseException ( ORJRC  rc,
ORJError const &  error 
) [inline]

Construct from result code and error structure.

Parameters:
rc The result code reflecting the error condition
error The error structure (ORJError) associated with a parsing error


Member Function Documentation

ORJError const& error (  )  const [inline]

The error structure associated with the exception, when rc() returns ORJ_RC_PARSEERROR.

ORJRC rc (  )  const [inline]

The result code associated with the exception.

char const* what (  )  const throw () [inline]

C-string form of the exception.


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

Open-RJ Library documentation © Synesis Software Pty Ltd, 2004-2005