C++ Client API 1.4 (November 2023)
 
Loading...
Searching...
No Matches
dbSpaces::error::BaseException Class Referenceabstract

#include <Cerr_BaseException.h>

Inheritance diagram for dbSpaces::error::BaseException:

Public Member Functions

BaseExceptionoperator= (const BaseException &)
 
virtual void Delete ()=0
 
dtSMALL GetErrorCode () const
 
dtSTRING * GetErrorMessage () const
 
dtSMALL GetErrorLevel () const
 
dtSTRING * GetExceptionSource () const
 

Detailed Description

Base exception class that is inherited by exception objects that are thrown by the application.

Since
Version 1.0

Member Function Documentation

◆ Delete()

virtual void dbSpaces::error::BaseException::Delete ( )
pure virtual

Delete the Exception object.

Since
Version 1.0

Implemented in dbSpaces::error::DatabaseException, and dbSpaces::error::TypeException.

◆ GetErrorCode()

dtSMALL dbSpaces::error::BaseException::GetErrorCode ( ) const

Get the Exception error code.

Returns
the error code.
Since
Version 1.0

◆ GetErrorLevel()

dtSMALL dbSpaces::error::BaseException::GetErrorLevel ( ) const

Get the Exception error level;

  • 0 - (ERR_DIA) diagnostic error.
  • 1 - (ERR_WRN) warning error.
  • 2 - (ERR_ERR) error.
  • 3 - (ERR_FTL) fatal error.
Since
Version 1.0

◆ GetErrorMessage()

dtSTRING * dbSpaces::error::BaseException::GetErrorMessage ( ) const

Get the Exception error message.

Returns
the error code.
Since
Version 1.0

◆ GetExceptionSource()

dtSTRING * dbSpaces::error::BaseException::GetExceptionSource ( ) const

Get the Exception error source location.

Returns
the error source location.
Since
Version 1.0

◆ operator=()

BaseException & dbSpaces::error::BaseException::operator= ( const BaseException )

BaseException assignment operator.

Since
Version 1.0