28 ServiceException::ServiceException(
const std::string& msg,
const Type& type)
29 :
std::runtime_error(msg), type(type)
35 :
std::runtime_error(o), type(o.type)
42 std::runtime_error::operator=(o);
56 std::ostream&
operator<<(std::ostream& os,
const ServiceException& exc)
58 return os <<
"ServiceException: " << exc.what();
ServiceException(const std::string &msg, const Type &type=UNSPECIFIED)
US_Core_EXPORT std::ostream & operator<<(std::ostream &os, ModuleEvent::Type eventType)
ServiceException & operator=(const ServiceException &o)