SObjectizer  5.5
Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
so_5::exception_t Class Reference

The base class for all SObjectizer exceptions. More...

#include <exception.hpp>

Inheritance diagram for so_5::exception_t:

Public Member Functions

 exception_t (const std::string &error_descr, int error_code)
 
 exception_t (const exception_t &)=default
 
 exception_t (exception_t &&)=default
 
exception_toperator= (exception_t &o)=default
 
exception_toperator= (exception_t &&o)=default
 
int error_code () const SO_5_NOEXCEPT
 Error code getter. More...
 

Static Public Member Functions

static void raise (const char *file_name, unsigned int line_number, const std::string &error_descr, int error_code)
 

Private Types

typedef std::runtime_error base_type_t
 Typedef for the base type. More...
 

Private Attributes

int m_error_code
 Error code. More...
 

Detailed Description

The base class for all SObjectizer exceptions.

Examples:
so_5/producer_consumer_mchain/main.cpp.

Member Typedef Documentation

◆ base_type_t

typedef std::runtime_error so_5::exception_t::base_type_t
private

Typedef for the base type.

Constructor & Destructor Documentation

◆ exception_t() [1/3]

so_5::exception_t::exception_t ( const std::string &  error_descr,
int  error_code 
)
inline

◆ exception_t() [2/3]

so_5::exception_t::exception_t ( const exception_t )
default

◆ exception_t() [3/3]

so_5::exception_t::exception_t ( exception_t &&  )
default

Member Function Documentation

◆ error_code()

int so_5::exception_t::error_code ( ) const
inline

Error code getter.

◆ operator=() [1/2]

exception_t& so_5::exception_t::operator= ( exception_t o)
default

◆ operator=() [2/2]

exception_t& so_5::exception_t::operator= ( exception_t &&  o)
default

◆ raise()

void so_5::exception_t::raise ( const char *  file_name,
unsigned int  line_number,
const std::string &  error_descr,
int  error_code 
)
static

Member Data Documentation

◆ m_error_code

int so_5::exception_t::m_error_code
private

Error code.


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