13 #ifndef ZYPP_TARGET_HAL_HALEXCEPTION_H
14 #define ZYPP_TARGET_HAL_HALEXCEPTION_H
63 HalException(
const std::string &err_name,
const std::string &err_msg)
90 virtual std::ostream &
dumpOn( std::ostream & str )
const;
112 #endif // ZYPP_TARGET_HAL_HALEXCEPTION_H
const std::string & errorMessage() const
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
Exception thrown if we were built without hal support (-DNO_HAL).
HalException(const std::string &msg_r)
Constructor taking complete hal error message.
Hardware abstaction layer exception.
virtual ~HalException()
Destructor.
HalException()
Default constructor.
#define _(MSG)
Return translated text.
Base class for Exception.
const std::string & errorName() const
HalException(const std::string &err_name, const std::string &err_msg)
Constructor taking HAL (DBUS) error message components.