12# ifdef COMPILING_DLL_SimulatedRealityCore
13# define DIMENCOSR_API __declspec(dllexport)
15# define DIMENCOSR_API __declspec(dllimport)
30#pragma warning(disable: 4275)
61 virtual const char*
what()
const throw () {
62 return errorMessage.c_str();
73#pragma warning(suppress: 4251)
Class of exception which indicates that a hardware device was not available for use in the SR system.
Definition: exception.h:81
DeviceNotAvailableException(std::string deviceIdentifier)
Constructs an instance of DeviceNotAvailableException for a specific device identifier.
DeviceNotAvailableException()
Constructs an instance of DeviceNotAvailableException.
Class of exception which indicates a general SR logic error.
Definition: exception.h:35
std::string errorMessage
Error message.
Definition: exception.h:74
virtual ~Exception()
Destructor. Virtual to allow for subclassing.
Definition: exception.h:56
virtual const char * what() const
Returns a pointer to the (constant) error description.
Definition: exception.h:61
Exception(const char *message)
Constructor (C strings).
Definition: exception.h:41
Exception(const std::string &message)
Constructor (C++ STL strings).
Definition: exception.h:49
Class of Exception which indicates that a SR Service was not available to connect with.
Definition: exception.h:96
ServerNotAvailableException()
Constructs an instance of ServerNotAvailableException.
#define DIMENCOSR_API
Definition: exception.h:18
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:20