TdkDatabasePortalException Class Reference
[The Utils Module]

Provides a class for handling database portal errors. More...

#include <TdkDatabasePortalException.h>

Inheritance diagram for TdkDatabasePortalException:

TdkDatabaseException TdkException List of all members.

Public Types

enum  { QueryError, RecordNotFound }

Public Member Functions

 TdkDatabasePortalException (std::string src_file_name, int src_file_line, int error_code, TeDatabase *db=NULL, TeDatabasePortal *portal=NULL, std::string more_info="")
 Construtor.

Protected Member Functions

virtual void setMessagesMap ()
 Sets the message map.

Detailed Description

Provides a class for handling database portal errors.


Member Enumeration Documentation

anonymous enum

Enumerator:
QueryError 
RecordNotFound 


Constructor & Destructor Documentation

TdkDatabasePortalException::TdkDatabasePortalException ( std::string  src_file_name,
int  src_file_line,
int  error_code,
TeDatabase *  db = NULL,
TeDatabasePortal *  portal = NULL,
std::string  more_info = "" 
)

Construtor.

Parameters:
src_file_name  Name of the source file where the exception happened.
src_file_line  Line number of the source file where the exception happened.
error_code  Error code associated with the exception.
more_info  This extra information must be showed with the error message.


Member Function Documentation

void TdkDatabasePortalException::setMessagesMap (  )  [inline, protected, virtual]

Sets the message map.

Reimplemented from TdkDatabaseException.


The documentation for this class was generated from the following files:
Generated on Fri Jun 15 16:54:35 2007 for TDK by  doxygen 1.5.2