Flow123d
JS_before_hm-2196-g9bdbf60c0
|
Go to the documentation of this file.
18 #ifndef SRC_INPUT_EXCEPTION_HH_
19 #define SRC_INPUT_EXCEPTION_HH_
39 std::ostringstream &
form_message(std::ostringstream &)
const override;
69 #define DECLARE_INPUT_EXCEPTION( ExcName, Format) \
70 struct ExcName : public virtual ::Input::Exception { \
71 virtual void print_info(std::ostringstream &out) const { \
72 using namespace internal; \
73 ::internal::ExcStream estream(out, *this); \
75 << "\nAt input address: " \
76 << ::Input::EI_Address::val; \
79 virtual ~ExcName() throw () {} \
Base of exceptions used in Flow123d.