OptrisOptrisDocumentation

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

optris::sdk::SdkException

Base exception for all SDK errors.

Inherits from std::exception.

Public functions

SdkException

SdkException(std::string message)

Construct with the sentence a user should be shown.

Parameters

Name Description
message What went wrong, in words, naming the specifics.

what

auto what() const noexcept -> const char *override

The message, as std::exception reports it.

Returns: A NUL-terminated string owned by this exception.

message

auto message() const -> const std::string &

The message, without the round trip through a C string.

Returns: The message. Valid for as long as this exception is.