|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
#include <usServiceException.h>


Public Types | |
| enum | Type { UNSPECIFIED , UNREGISTERED , FACTORY_ERROR , FACTORY_EXCEPTION , REMOTE , FACTORY_RECURSION } |
Public Member Functions | |
| ServiceException (const std::string &msg, const Type &type=UNSPECIFIED) | |
Creates a ServiceException with the specified message, type and exception cause. More... | |
| ServiceException (const ServiceException &o) | |
| Copy constructor. More... | |
| ServiceException & | operator= (const ServiceException &o) |
| Copy assignment operator. More... | |
| ~ServiceException () override throw () | |
| Type | GetType () const |
Returns the type for this exception or UNSPECIFIED if the type was unspecified or unknown. More... | |
A service exception used to indicate that a service problem occurred.
A ServiceException object is created by the framework or to denote an exception condition in the service. An enum type is used to identify the exception type for future extendability.
This exception conforms to the general purpose exception chaining mechanism.
Definition at line 37 of file usServiceException.h.
Definition at line 41 of file usServiceException.h.
| us::ServiceException::ServiceException | ( | const std::string & | msg, |
| const Type & | type = UNSPECIFIED |
||
| ) |
Creates a ServiceException with the specified message, type and exception cause.
| [in] | msg | The associated message. |
| [in] | type | The type for this exception. |
| us::ServiceException::ServiceException | ( | const ServiceException & | o | ) |
Copy constructor.
|
inlineoverride | |||||||||||||
Definition at line 84 of file usServiceException.h.
| Type us::ServiceException::GetType | ( | ) | const |
Returns the type for this exception or UNSPECIFIED if the type was unspecified or unknown.
| ServiceException& us::ServiceException::operator= | ( | const ServiceException & | o | ) |
Copy assignment operator.