SObjectizer 5.8
Loading...
Searching...
No Matches
exception.hpp File Reference

An exception class. More...

#include <stdexcept>
#include <string>
#include <string_view>
#include <so_5/declspec.hpp>
#include <so_5/compiler_features.hpp>
#include <so_5/ret_code.hpp>

Go to the source code of this file.

Classes

class  so_5::exception_t
 The base class for all SObjectizer exceptions. More...
 

Namespaces

namespace  so_5
 Private part of message limit implementation.
 

Macros

#define SO_5_THROW_EXCEPTION_IMPL(file, line, error_code, desc)
 
#define SO_5_THROW_EXCEPTION(error_code, desc)
 

Detailed Description

An exception class.

Definition in file exception.hpp.

Macro Definition Documentation

◆ SO_5_THROW_EXCEPTION

#define SO_5_THROW_EXCEPTION ( error_code,
desc )
Value:
SO_5_THROW_EXCEPTION_IMPL(__FILE__, __LINE__, error_code, desc)
#define SO_5_THROW_EXCEPTION_IMPL(file, line, error_code, desc)
Definition exception.hpp:71

Definition at line 74 of file exception.hpp.

◆ SO_5_THROW_EXCEPTION_IMPL

#define SO_5_THROW_EXCEPTION_IMPL ( file,
line,
error_code,
desc )
Value:
so_5::exception_t::raise(file, line, (desc), (error_code))
static void raise(const char *file_name, unsigned int line_number, std::string_view error_descr, int error_code)
Definition exception.cpp:17

Definition at line 71 of file exception.hpp.