|
FEAT 3
Finite Element Analysis Toolbox
|
Class for parser related errors. More...
#include <exception.hpp>
Public Member Functions | |
| ParseError (const String &message_in) | |
| Constructor. More... | |
| ParseError (const String &name, const String &got, const String &expect) | |
| Constructor. More... | |
| const String | message () const |
| returns error message More... | |
| virtual const char * | what () const noexcept override |
| return descriptive exception name More... | |
Private Attributes | |
| const String | _message |
| descriptive error message More... | |
Class for parser related errors.
Definition at line 130 of file exception.hpp.
|
inlineexplicit |
Constructor.
| [in] | message_in | A short error message. |
Definition at line 140 of file exception.hpp.
|
inlineexplicit |
Constructor.
| [in] | name | The name of the entry that was to be parsed. |
| [in] | got | The string that was meant to be parsed. |
| [in] | expect | What was expected instead, e.g. "a non-negative integer" |
Definition at line 157 of file exception.hpp.
|
inlinevirtualnoexcept |
Definition at line 162 of file exception.hpp.
|
inlineinherited |
returns error message
Definition at line 73 of file exception.hpp.
References FEAT::Exception::_message.
|
inlineoverridevirtualnoexceptinherited |
return descriptive exception name
Reimplemented in FEAT::Xml::Error.
Definition at line 79 of file exception.hpp.
References FEAT::Exception::_message.
|
privateinherited |
descriptive error message
Definition at line 30 of file exception.hpp.
Referenced by FEAT::Exception::message(), and FEAT::Exception::what().