Flow123d
JS_before_hm-1804-gf2ad740aa
|
Base of exceptions due to user input. More...
#include <input_exception.hh>
Public Member Functions | |
virtual | ~Exception () throw () |
Public Member Functions inherited from ExceptionBase | |
ExceptionBase () | |
Default constructor, just calls fill_stacktrace() . More... | |
ExceptionBase (const ExceptionBase &other) | |
Copy constructor, performs deep copy of stacktrace. More... | |
void | print_stacktrace (std::ostream &out) const |
Prints formated stacktrace into given stream out . More... | |
virtual void | print_info (std::ostringstream &out) const =0 |
const char * | what () const throw () |
virtual | ~ExceptionBase () throw () |
Destructor, possibly free stacktrace. More... | |
Protected Member Functions | |
std::ostringstream & | form_message (std::ostringstream &) const override |
Protected Member Functions inherited from ExceptionBase | |
virtual std::string | what_type_msg () const |
Return type of message ("Program error" for this class). Can be override in descendants. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ExceptionBase | |
StackTrace | stack_trace_ |
Stacktrace of exception. More... | |
std::vector< std::string > | frames_to_cut_ |
Stacktrace frames, which will be cut, see StackTrace::print method. More... | |
Base of exceptions due to user input.
Base class for "input exceptions" that are exceptions caused by incorrect input from the user not by an internal error.
Definition at line 34 of file input_exception.hh.
|
inlinevirtual |
Definition at line 37 of file input_exception.hh.
|
overrideprotectedvirtual |
Method for output the exception message. Implements composition of complex message including diagnostic informations and stack trace.
Reimplemented from ExceptionBase.
Definition at line 31 of file accessors.cc.