10 #ifndef UI_GXML_EXCEPTION_HPP 11 #define UI_GXML_EXCEPTION_HPP 17 #include <ui-utilcpp/Exception.hpp> 26 Exception(std::string
const & what=NoWhatGiven_, std::string
const & debug=NoDebugGiven_)
27 :UI::Exception(what, debug)
33 template <
typename Code =
int>
38 CodeException(Code
const & code, std::string
const & what=NoWhatGiven_, std::string
const & debug=NoDebugGiven_)
44 Code
const &
getCode()
const {
return code_; }
Namespace for all Schlund+Partner Code.
Definition: Buffer.cpp:30
Adding code facility to Exception.
Definition: Exception.hpp:34
Mother exception class for this namespace.
Definition: Exception.hpp:23
CodeException(Code const &code, std::string const &what=NoWhatGiven_, std::string const &debug=NoDebugGiven_)
Construct with code and description text.
Definition: Exception.hpp:38
Code const & getCode() const
Get code.
Definition: Exception.hpp:44