14 #ifndef USSERVICEEXCEPTION_H
15 #define USSERVICEEXCEPTION_H
57 FACTORY_EXCEPTION = 3,
#define MITKCPPMICROSERVICES_EXPORT
Type GetType() const
Returns the type for this exception or UNSPECIFIED if the type was unspecified or unknown.
ServiceException & operator=(const ServiceException &o)
Copy assignment operator.
ServiceException(const std::string &msg, const Type &type=UNSPECIFIED)
Creates a ServiceException with the specified message, type and exception cause.
~ServiceException() override
ServiceException(const ServiceException &o)
Copy constructor.
MITKCPPMICROSERVICES_EXPORT std::ostream & operator<<(std::ostream &os, const us::ServiceException &exc)
Stream output operator for ServiceException.