Exception base class. More...
Public Member Functions | |
Exception (const std::string &message) | |
Constructor. |
Exception base class.
All exceptions thrown by the Thor Library are derived from this class. Exception inherits from std::runtime_error, hence all Thor exceptions contain a (here undocumented) virtual function what().
thor::Exception::Exception | ( | const std::string & | message | ) | [explicit] |
Constructor.
message | The exception message (how the error occurred). |