Exception implementation inherited from std::exception.
More...
#include <Exception.h>
|
| ExceptionBase () noexcept |
| Default Constructor.
|
|
| ExceptionBase (const ExceptionBase &ex) noexcept |
| Copy constructor.
|
|
| ExceptionBase (const ExceptionBase &&ex) noexcept |
| Move constructor.
|
|
const char * | what () const noexcept override |
| Overloaded from base class 'std::exception'.
|
|
template<typename... Args> |
void | formatMessage (const char *format, Args... args) noexcept |
| Formats the exception message according sprintf().
|
|
void | formatMessage (const char *message) noexcept |
| Formats the exception message when no arguments are given.
|
|
template<typename... Args> |
T | Function (const char *mangled_name, const char *func, const char *format, Args &&... args) |
| Formatting function with a class type_info and formatting the message.
|
|
T | Function (const char *mangled_name, const char *func, const char *message) |
| Formatting function with a class type_info and passing the message without formatting.
|
|
|
enum | { BUF_SIZE = 1024
} |
| Enumerate which sets the buffer size for formatting. More...
|
|
|
std::unique_ptr< char > | _msg {new char[BUF_SIZE]} |
| Pointer to message string.
|
|
template<typename T>
class sf::ExceptionBase< T >
Exception implementation inherited from std::exception.
◆ anonymous enum
Enumerate which sets the buffer size for formatting.
◆ ExceptionBase() [1/3]
◆ ExceptionBase() [2/3]
◆ ExceptionBase() [3/3]
◆ formatMessage() [1/2]
template<typename T >
template<typename... Args>
Formats the exception message according sprintf().
◆ formatMessage() [2/2]
Formats the exception message when no arguments are given.
◆ Function() [1/2]
template<typename T >
template<typename... Args>
T sf::ExceptionBase< T >::Function |
( |
const char * |
mangled_name, |
|
|
const char * |
func, |
|
|
const char * |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
Formatting function with a class type_info and formatting the message.
ExceptionType.Function(typeid(*this).name(), __FUNCTION__, "Terminating (%d)", 123);
◆ Function() [2/2]
template<typename T >
T sf::ExceptionBase< T >::Function |
( |
const char * |
mangled_name, |
|
|
const char * |
func, |
|
|
const char * |
message |
|
) |
| |
|
inline |
Formatting function with a class type_info and passing the message without formatting.
◆ what()
Overloaded from base class 'std::exception'.
◆ _msg
Pointer to message string.
The documentation for this class was generated from the following file: