![]() |
OpenWalnut
1.5.0dev
|
Indicates invalid input in a parser. More...
#include <WParseError.h>
Inheritance diagram for WParseError:
Collaboration diagram for WParseError:Public Member Functions | |
| WParseError (const std::string &msg="Error while parsing.") | |
| Default constructor. More... | |
| virtual | ~WParseError () throw () |
| Destructor. More... | |
Public Member Functions inherited from WException | |
| WException (const std::string &msg=std::string()) | |
| Default constructor. More... | |
| WException (const std::exception &e) | |
| Copy a std::exception and encapsulate it. More... | |
| virtual | ~WException () throw () |
| Destructor. More... | |
| virtual const char * | what () const throw () |
| Returns the message string set on throw. More... | |
| std::string | getTrace () const |
| Prints the trace of the call chain which caused this exception. More... | |
| std::string | getBacktrace () const |
| Returns a call stacktrace. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from WException | |
| static void | disableBacktrace () |
| Function disables backtraces. More... | |
Protected Attributes inherited from WException | |
| std::string | m_msg |
| Message given during throw. More... | |
| std::list< std::string > | m_trace |
| Stack trace for identifying the source where this exception came from. More... | |
Static Protected Attributes inherited from WException | |
| static bool | noBacktrace = false |
| True if the backtrace should NOT be printed. More... | |
Indicates invalid input in a parser.
Definition at line 35 of file WParseError.h.
|
explicit |
Default constructor.
| msg | the exception message. |
Definition at line 29 of file WParseError.cpp.
|
virtual | |||||||||||||
Destructor.
Definition at line 35 of file WParseError.cpp.