|
FEAT 3
Finite Element Analysis Toolbox
|
Syntax Error exception class. More...
#include <exception.hpp>
Public Member Functions | |
| SyntaxError (String message_in, String filename="") | |
| Constructor. More... | |
| virtual | ~SyntaxError () noexcept |
| virtual destructor More... | |
| String | get_filename () const |
| returns the filename More... | |
| const String | message () const |
| returns error message More... | |
| virtual const char * | what () const noexcept override |
| return descriptive exception name More... | |
Protected Attributes | |
| String | _filename |
| name of the file containing the syntax error More... | |
Private Attributes | |
| const String | _message |
| descriptive error message More... | |
Syntax Error exception class.
This class derives from FEAT::Exception and is thrown by the parser classes when a syntax error is detected.
Definition at line 248 of file exception.hpp.
Constructor.
| [in] | message_in | A description of the syntax error. |
| [in] | filename | The name of the file in which the syntax error has been detected. |
Definition at line 265 of file exception.hpp.
|
inlinevirtualnoexcept |
virtual destructor
Definition at line 274 of file exception.hpp.
|
inline |
|
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.
|
protected |
name of the file containing the syntax error
Definition at line 253 of file exception.hpp.
Referenced by get_filename().
|
privateinherited |
descriptive error message
Definition at line 30 of file exception.hpp.
Referenced by FEAT::Exception::message(), and FEAT::Exception::what().