The Battle for Wesnoth  1.15.5+dev
Public Member Functions | Protected Attributes | List of all members
mariadb::exception::base Class Reference

#include <exceptions.hpp>

Inheritance diagram for mariadb::exception::base:
Inheritance graph

Public Member Functions

 base () throw ()
 
 base (u32 error_id, const std::string &error) throw ()
 
 base (const std::string &error) throw ()
 
virtual ~base () throw ()
 
virtual const char * what () const throw ()
 
u32 error_id () const throw ()
 

Protected Attributes

u32 m_error_id
 
std::string m_error
 

Detailed Description

Definition at line 19 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ base() [1/3]

mariadb::exception::base::base ( )
throw (
)
inline

Definition at line 24 of file exceptions.hpp.

◆ base() [2/3]

mariadb::exception::base::base ( u32  error_id,
const std::string &  error 
)
throw (
)
inline

Definition at line 26 of file exceptions.hpp.

◆ base() [3/3]

mariadb::exception::base::base ( const std::string &  error)
throw (
)
inline

Definition at line 29 of file exceptions.hpp.

◆ ~base()

virtual mariadb::exception::base::~base ( )
throw (
)
inlinevirtual

Definition at line 34 of file exceptions.hpp.

Member Function Documentation

◆ error_id()

u32 mariadb::exception::base::error_id ( ) const
throw (
)
inline

Definition at line 41 of file exceptions.hpp.

References m_error_id.

◆ what()

virtual const char* mariadb::exception::base::what ( ) const
throw (
)
inlinevirtual

Definition at line 39 of file exceptions.hpp.

References m_error.

Member Data Documentation

◆ m_error

std::string mariadb::exception::base::m_error
protected

Definition at line 45 of file exceptions.hpp.

Referenced by what().

◆ m_error_id

u32 mariadb::exception::base::m_error_id
protected

Definition at line 44 of file exceptions.hpp.

Referenced by error_id().


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