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::ConnectTimeoutException

The connection bound the caller asked for expired.

Thrown only where a deadline actually ran out, never where a connection was refused or a camera answered and misbehaved. A refusal comes back instantly and means something is at that address; an expiry means nothing is. They are different answers to an operator and they now have different types.

Reaches the v12 API as optris::sdk::ConnectTimeoutException and the C ABI as OPTRIS_SDK_ERROR_TIMEOUT.

Inherits from optris::SDKException.

Public functions

SDKException

SDKException() noexcept=default

Constructor.

SDKException

SDKException(std::string message) noexcept

Constructor.

Parameters

Name Description
message error message.