|
| | InvalidValue (const char *file, int line, const char *function, const std::string &message, const std::string &value) noexcept |
| |
| | BaseException () noexcept |
| | Default constructor. More...
|
| |
| | BaseException (const char *file, int line, const char *function) noexcept |
| | Constructor. More...
|
| |
| | BaseException (const char *file, int line, const char *function, const std::string &name, const std::string &message) noexcept |
| | Constructor. More...
|
| |
| | BaseException (const BaseException &exception) noexcept |
| | Copy constructor. More...
|
| |
| virtual | ~BaseException () noexcept |
| | Destructor. More...
|
| |
| const char * | getName () const noexcept |
| | Returns the name of the exception. More...
|
| |
| virtual const char * | what () const noexcept |
| | Returns the error message of the exception. More...
|
| |
| int | getLine () const noexcept |
| | Returns the line number where it occurred. More...
|
| |
| const char * | getFile () const noexcept |
| | Returns the file where it occurred. More...
|
| |
| const char * | getFunction () const noexcept |
| | Returns the function where it occurred. More...
|
| |
| const char * | getMessage () const noexcept |
| | Returns the message. More...
|
| |
| void | setMessage (const std::string &message) noexcept |
| | Modify the exception's error message. More...
|
| |
Invalid value exception.
Use this exception to indicate that a given value is not valid, when the value is only allowed to be out of a certain set of values. If the value has to be inside a given range, you should rather use OutOfRange.