Parent type of all custom exceptions thrown in this library.
More...
#include <exceptions.hpp>
|
| exception (const std::string &message) |
| Constructs an exception with a message. This message will be returned by std::exception::what(), an inherited member of this class. More...
|
|
| exception (const exception &)=default |
| Default copy constructor. More...
|
|
| ~exception () override |
| Destructor More...
|
|
void | message (const std::string &message) |
| Sets the message after the xlnt::exception is constructed. This can show more specific information than std::exception::what(). More...
|
|
std::string | message () |
| Gets the message containing extra information. More...
|
|
Parent type of all custom exceptions thrown in this library.
◆ exception() [1/2]
xlnt::exception::exception |
( |
const std::string & |
message | ) |
|
|
explicit |
Constructs an exception with a message. This message will be returned by std::exception::what(), an inherited member of this class.
◆ exception() [2/2]
xlnt::exception::exception |
( |
const exception & |
| ) |
|
|
default |
Default copy constructor.
◆ ~exception()
xlnt::exception::~exception |
( |
| ) |
|
|
override |
◆ message() [1/2]
void xlnt::exception::message |
( |
const std::string & |
message | ) |
|
Sets the message after the xlnt::exception is constructed. This can show more specific information than std::exception::what().
◆ message() [2/2]
std::string xlnt::exception::message |
( |
| ) |
|
Gets the message containing extra information.
The documentation for this class was generated from the following file: