optris::sdk::rec::RaviDeclinedException
The import declined the file: it has no radiometric model (RaviVerdict::kNoModel), or it is short-wave and RaviImportOptions::allow_short_wave is off (RaviVerdict::kShortWave).
Not a failure: the file was read and the answer is that no honest temperature can be made from it with these options. A subclass of FeatureNotSupportedException, so it crosses the C ABI as OPTRIS_SDK_ERROR_NOT_SUPPORTED, and reaches C# as RaviDeclinedException, Python as RaviDeclinedError and Rust as Status::NotSupported.
Inherits from optris::sdk::FeatureNotSupportedException.
Public functions
RaviDeclinedException
RaviDeclinedException(std::string message, RaviVerdict verdict)
Parameters
| Name | Description |
|---|---|
message |
Why, naming the file. |
verdict |
kNoModel or kShortWave. |
verdict
auto verdict() const noexcept -> RaviVerdict
Which of the two reasons it was.