Itzam/C++

Main Index

Created by Scott Robert Ladd at Coyote Gulch Productions.


itzam::database_exception Class Reference

Standard Itzam database exception. More...

#include <itzam_common.h>

List of all members.

Public Member Functions


Detailed Description

This is the standard exception thrown for Itzam database failures. By deriving from the Standard C++ exception runtime_error, validation error is caught by generic catch (std::exception) blocks or more specific exception handlers.


Constructor & Destructor Documentation

itzam::database_exception::database_exception const string &  message  )  [inline]
 

Constructs a database_exception from a detail string.

Parameters:
message A string providing detailed information about the exception

itzam::database_exception::database_exception itzam_state  state  )  [inline]
 

Constructs a database_exception from a status code.

Parameters:
state Status code associated with the exception

itzam::database_exception::database_exception database_error  error  )  [inline]
 

Constructs a database_exception from a status code.

Parameters:
error Status code associated with the exception


Member Function Documentation

database_error itzam::database_exception::get_error  )  const [inline]
 

Returns the error code assigned to this exception.

Returns:
error code for this exception


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

© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.