Flow123d  release_3.0.0-1140-gd35b574
Public Member Functions | Protected Member Functions | List of all members
Input::Exception Class Reference

Base of exceptions due to user input. More...

#include <input_exception.hh>

Inheritance diagram for Input::Exception:
Inheritance graph
[legend]
Collaboration diagram for Input::Exception:
Collaboration graph
[legend]

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual Input::Exception::~Exception ( )
throw (
)
inlinevirtual

Definition at line 37 of file input_exception.hh.

Member Function Documentation

std::ostringstream & Input::Exception::form_message ( std::ostringstream &  converter) const
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.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: