ChessPlusPlus
WIP
cplusplus.com Community Project
|
The base exception class for all ChessPlusPlus exceptions. More...
#include <Exception.hpp>
Public Member Functions | |
Exception (std::string const &e_="") noexcept(noexcept(std::string(std::string("")))) | |
Construct an exception with an optional message. More... | |
Exception (Exception const &)=default | |
Exception (Exception &&)=default | |
Exception & | operator= (Exception const &)=default |
Exception & | operator= (Exception &&)=default |
virtual | ~Exception ()=default |
virtual bool | operator== (std::exception const &other) const noexcept |
Compares two exceptions by their memory address. More... | |
virtual const char * | what () const noexceptoverride |
Returns the message of the exception. More... | |
virtual | operator std::string () const noexcept |
Returns the message of the exception. More... | |
Friends | |
bool | operator== (std::exception const &e1, Exception const &e2) noexcept |
Compares two exceptions by their memory address. More... | |
The base exception class for all ChessPlusPlus exceptions.
|
inlinenoexcept |
Construct an exception with an optional message.
e_ | optional message of exception. |
|
default |
|
default |
|
virtualdefault |
|
inlinevirtualnoexcept |
Returns the message of the exception.
|
inlinevirtualnoexcept |
Compares two exceptions by their memory address.
|
inlineoverridevirtualnoexcept |
Returns the message of the exception.
|
friend |
Compares two exceptions by their memory address.