dxd - dynax driver framework 2.1.0d49
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::exception Class Reference

#include <dx_exception.h>

+ Inheritance diagram for dx::exception:
+ Collaboration diagram for dx::exception:

Public Member Functions

 exception ()
 
 exception (const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const char *function, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const char *function, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const char *function, const std::string &what, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const char *function, const std::string &what, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const char *function, os_result error, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const char *function, os_result error, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const char *function, os_result error, const std::string &what, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const char *function, os_result error, const std::string &what, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const exception &copy) noexcept
 
 exception (const exception *previous, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const exception *previous, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const exception *previous, const char *function, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const exception *previous, const char *function, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const exception *previous, const char *function, const std::string &what, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const exception *previous, const char *function, const std::string &what, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const exception *previous, const char *function, os_result error, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const exception *previous, const char *function, os_result error, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
template<typename ... arg_t>
 exception (const exception *previous, const char *function, os_result error, const std::string &what, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 chained complete constructor with variadic comment
 
 exception (const exception *previous, const char *function, os_result error, const std::string &what, const char *frame, const char *file, unsigned int line, const std::string &comment="")
 complete base constructor without variadic comment
 
 exception (const exception *previous, const std::string &what, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const exception *previous, const std::string &what, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const exception *previous, os_result error, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const exception *previous, os_result error, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const exception *previous, os_result error, const std::string &what, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const exception *previous, os_result error, const std::string &what, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (const std::string &what, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (const std::string &what, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (os_result error, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (os_result error, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
 exception (os_result error, const std::string &what, const char *frame, const char *file, unsigned int line) noexcept
 
template<typename ... arg_t>
 exception (os_result error, const std::string &what, const char *frame, const char *file, unsigned int line, arg_t... args) noexcept
 
exceptionoperator= (const exception &copy) noexcept
 
virtual ~exception () noexcept
 

Public Attributes

std::string comment
 
os_result error {}
 
const char * file {}
 
const char * frame {}
 
const char * function {}
 
unsigned int line {}
 
bool owner {}
 
const exceptionprevious {}
 
std::time_t time = std::chrono::system_clock::to_time_t (std::chrono::system_clock::now())
 

Constructor & Destructor Documentation

◆ exception() [1/34]

dx::exception::exception ( )
inline

◆ exception() [2/34]

dx::exception::exception ( const exception & copy)
inlinenoexcept

◆ exception() [3/34]

template<typename ... arg_t>
dx::exception::exception ( const exception * previous,
const char * function,
os_result error,
const std::string & what,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

chained complete constructor with variadic comment

Parameters
previousoptional
functionoptional
erroroptional expanded to unknown or taken from previous
whatoptional expanded from error or taken from previous
framemandatory
filemandatory
linemandatory

◆ exception() [4/34]

dx::exception::exception ( const exception * previous,
const char * function,
os_result error,
const std::string & what,
const char * frame,
const char * file,
unsigned int line,
const std::string & comment = "" )
inline

complete base constructor without variadic comment

◆ ~exception()

virtual dx::exception::~exception ( )
inlinevirtualnoexcept

◆ exception() [5/34]

template<typename ... arg_t>
dx::exception::exception ( const exception * previous,
const char * function,
os_result error,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [6/34]

template<typename ... arg_t>
dx::exception::exception ( const exception * previous,
const char * function,
const std::string & what,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [7/34]

template<typename ... arg_t>
dx::exception::exception ( const exception * previous,
const char * function,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [8/34]

template<typename ... arg_t>
dx::exception::exception ( const exception * previous,
os_result error,
const std::string & what,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [9/34]

template<typename ... arg_t>
dx::exception::exception ( const exception * previous,
os_result error,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [10/34]

template<typename ... arg_t>
dx::exception::exception ( const exception * previous,
const std::string & what,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [11/34]

template<typename ... arg_t>
dx::exception::exception ( const exception * previous,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [12/34]

template<typename ... arg_t>
dx::exception::exception ( const char * function,
os_result error,
const std::string & what,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [13/34]

template<typename ... arg_t>
dx::exception::exception ( const char * function,
os_result error,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [14/34]

template<typename ... arg_t>
dx::exception::exception ( const char * function,
const std::string & what,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [15/34]

template<typename ... arg_t>
dx::exception::exception ( const char * function,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [16/34]

template<typename ... arg_t>
dx::exception::exception ( os_result error,
const std::string & what,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [17/34]

template<typename ... arg_t>
dx::exception::exception ( os_result error,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [18/34]

template<typename ... arg_t>
dx::exception::exception ( const std::string & what,
const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [19/34]

template<typename ... arg_t>
dx::exception::exception ( const char * frame,
const char * file,
unsigned int line,
arg_t... args )
inlinenoexcept

◆ exception() [20/34]

dx::exception::exception ( const exception * previous,
const char * function,
os_result error,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [21/34]

dx::exception::exception ( const exception * previous,
const char * function,
const std::string & what,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [22/34]

dx::exception::exception ( const exception * previous,
const char * function,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [23/34]

dx::exception::exception ( const exception * previous,
os_result error,
const std::string & what,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [24/34]

dx::exception::exception ( const exception * previous,
os_result error,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [25/34]

dx::exception::exception ( const exception * previous,
const std::string & what,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [26/34]

dx::exception::exception ( const exception * previous,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [27/34]

dx::exception::exception ( const char * function,
os_result error,
const std::string & what,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [28/34]

dx::exception::exception ( const char * function,
os_result error,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [29/34]

dx::exception::exception ( const char * function,
const std::string & what,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [30/34]

dx::exception::exception ( const char * function,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [31/34]

dx::exception::exception ( os_result error,
const std::string & what,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [32/34]

dx::exception::exception ( os_result error,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [33/34]

dx::exception::exception ( const std::string & what,
const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

◆ exception() [34/34]

dx::exception::exception ( const char * frame,
const char * file,
unsigned int line )
inlinenoexcept

Member Function Documentation

◆ operator=()

exception & dx::exception::operator= ( const exception & copy)
inlinenoexcept

Member Data Documentation

◆ comment

std::string dx::exception::comment

◆ error

os_result dx::exception::error {}

◆ file

const char* dx::exception::file {}

◆ frame

const char* dx::exception::frame {}

◆ function

const char* dx::exception::function {}

◆ line

unsigned int dx::exception::line {}

◆ owner

bool dx::exception::owner {}

◆ previous

const exception* dx::exception::previous {}

◆ time

std::time_t dx::exception::time = std::chrono::system_clock::to_time_t (std::chrono::system_clock::now())

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

(c) copyright 2009 dynamic acoustics e.U. generated on Sat Mar 2 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.