wxSQLite3  5.0.1
Loading...
Searching...
No Matches
wxSQLite3::Exception Class Reference

SQL exception. More...

#include <wxsqlite3.h>

Inheritance diagram for wxSQLite3::Exception:

Public Member Functions

 Exception (int errorCode, const wxString &errMsg)
 Constructor.
virtual ~Exception ()=default
 Destructor.
int GetErrorCode () const noexcept
 Get error code associated with the exception.
int GetExtendedErrorCode () const noexcept
 Get extended error code associated with the exception.
const wxString & GetMessage () const noexcept
 Get error message associated with the exception.

Static Public Member Functions

static const wxString ErrorCodeAsString (int errorCode)
 Convert error code to error message.

Detailed Description

SQL exception.

Constructor & Destructor Documentation

◆ Exception()

wxSQLite3::Exception::Exception ( int errorCode,
const wxString & errMsg )

Constructor.

◆ ~Exception()

virtual wxSQLite3::Exception::~Exception ( )
virtualdefault

Destructor.

Member Function Documentation

◆ ErrorCodeAsString()

const wxString wxSQLite3::Exception::ErrorCodeAsString ( int errorCode)
static

Convert error code to error message.

◆ GetErrorCode()

int wxSQLite3::Exception::GetErrorCode ( ) const
inlinenoexcept

Get error code associated with the exception.

◆ GetExtendedErrorCode()

int wxSQLite3::Exception::GetExtendedErrorCode ( ) const
inlinenoexcept

Get extended error code associated with the exception.

◆ GetMessage()

const wxString & wxSQLite3::Exception::GetMessage ( ) const
inlinenoexcept

Get error message associated with the exception.


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