OptrisOptrisDocumentation

Documentation/OTC SDK/OTC SDK — legacy C++ API referencev12.0

These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.

optris::SDKException

Exception raised by the SDK.

Inherits from std::exception.

Public functions

SDKException

SDKException() noexcept=default

Constructor.

SDKException

SDKException(std::string message) noexcept

Constructor.

Parameters

Name Description
message error message.

what

const char * what() const noexcept override

Returns the error message.

Returns: error message.