15#include <peak_icv_c/types/peak_icv_simple_types.h>
36 peak_icv_status m_status;
47 Exception(
const std::string& msg, peak_icv_status status)
53 PEAK_ICV_NO_DISCARD peak_icv_status GetStatus()
const;
121 ,
Exception(msg, PEAK_ICV_STATUS_MISMATCH)
146 ,
Exception(msg, PEAK_ICV_STATUS_NOT_SUPPORTED)
171 ,
Exception(msg, PEAK_ICV_STATUS_NOT_POSSIBLE)
196 ,
Exception(msg, PEAK_ICV_STATUS_OUT_OF_RANGE)
221 ,
Exception(msg, PEAK_ICV_STATUS_MATH_ERROR)
244 ,
Exception(msg, PEAK_ICV_STATUS_TARGET_NOT_FOUND)
267 ,
Exception(msg, PEAK_ICV_STATUS_CORRUPTED)
292 ,
Exception(msg, PEAK_ICV_STATUS_IO_ERROR)
317 ,
Exception(msg, PEAK_ICV_STATUS_NULL_POINTER)
327inline peak_icv_status Exception::GetStatus()
const
Base class for all exceptions thrown by the library.
Thrown when an input, output, file or device communication error occurs.
Thrown when an unexpected internal error occurs.
Thrown when an unsupported operation or feature is used.
Thrown when a parameter is outside the valid range.
Thrown when input data or a file is malformed, unreadable, or otherwise corrupted.
CorruptedException(const std::string &msg)
CorruptedException(const CorruptedException &other) noexcept
The base class for all exceptions thrown by the IDS peak ICV library.
Exception(const std::string &msg, peak_icv_status status)
Creates an Exception from string and peak_icv_status.
Thrown when a file input/output operation fails.
IOException(const std::string &msg)
IOException(const IOException &other) noexcept
Thrown on unexpected internal system errors.
InternalErrorException(const std::string &msg, peak_icv_status status)
InternalErrorException(const InternalErrorException &other) noexcept
Thrown when the library configuration is invalid.
InvalidConfigurationException(const std::string &msg, peak_icv_status status)
InvalidConfigurationException(const InvalidConfigurationException &other) noexcept
Thrown when a mathematical computation fails.
MathErrorException(const MathErrorException &other) noexcept
MathErrorException(const std::string &msg)
Thrown when input parameters do not match the expected conditions.
MismatchException(const MismatchException &other) noexcept
MismatchException(const std::string &msg)
Thrown when an operation cannot be performed due to logical constraints.
NotPossibleException(const std::string &msg)
NotPossibleException(const NotPossibleException &other) noexcept
Thrown when a requested operation is not implemented or supported.
NotSupportedException(const NotSupportedException &other) noexcept
NotSupportedException(const std::string &msg)
Thrown when attempting to access an object or value that has not been initialized.
NullPointerException(const std::string &msg)
NullPointerException(const NullPointerException &other) noexcept
Thrown when a value is outside the allowed range.
OutOfRangeException(const OutOfRangeException &other) noexcept
OutOfRangeException(const std::string &msg)
Thrown when an expected target object is not detected in the input image.
TargetNotFoundException(const TargetNotFoundException &other) noexcept
TargetNotFoundException(const std::string &msg)