Flow123d  jenkins-Flow123d-windows32-release-multijob-51
Public Member Functions | List of all members
Input::Exception Class Reference

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

#include <accessors.hh>

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

Public Member Functions

const char * what () const throw ()
 
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 fill_stacktrace ()
 Call GNU backtrace if available, save call stack information into stacktrace member. 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
 
virtual ~ExceptionBase () throw ()
 Destructor, possibly free stacktrace. 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 54 of file accessors.hh.

Constructor & Destructor Documentation

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

Definition at line 58 of file accessors.hh.

Member Function Documentation

const char * Input::Exception::what ( ) const
throw (
)
virtual

Overloaded method for output the exception message if it is not catched. Implements composition of complex message including diagnostic informations and stack trace. Should not be overloded in descendant classes. Use print_info instead.

Reimplemented from ExceptionBase.

Definition at line 22 of file accessors.cc.


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