Exception implementation.
More...
#include <Exception.h>
|
| Exception () noexcept |
| Default Constructor.
|
|
| Exception (const Exception &ex) noexcept=default |
| Copy constructor.
|
|
| Exception (const char *message) noexcept |
| Constructor initializing message.
|
|
template<typename... Args> |
| Exception (const char *format, Args &&... args) noexcept |
| Formatting constructor.
|
|
| 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'.
|
|
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.
|
|
Exception | Function (const char *mangled_name, const char *func, const char *format, Args &&... args) |
| Formatting function with a class type_info and formatting the message.
|
|
Exception | 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 | |
| Enumerate which sets the buffer size for formatting. More...
|
|
std::unique_ptr< char > | _msg |
| Pointer to message string.
|
|
Exception implementation.
◆ Exception() [1/4]
sf::Exception::Exception |
( |
| ) |
|
|
noexcept |
◆ Exception() [2/4]
sf::Exception::Exception |
( |
const Exception & |
ex | ) |
|
|
defaultnoexcept |
◆ Exception() [3/4]
sf::Exception::Exception |
( |
const char * |
message | ) |
|
|
explicitnoexcept |
Constructor initializing message.
◆ Exception() [4/4]
template<typename... Args>
sf::Exception::Exception |
( |
const char * |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inlineexplicitnoexcept |
The documentation for this class was generated from the following file: