14#include <peak_common_c/detail/peak_common_defines.h>
15#include <peak_icv_c/types/peak_icv_simple_types.h>
35 peak_icv_status m_status;
38 Exception(
const std::string& msg, peak_icv_status status)
43 PEAK_COMMON_NO_DISCARD peak_icv_status
GetStatus()
const;
101 ,
Exception(msg, PEAK_ICV_STATUS_MISMATCH)
123 ,
Exception(msg, PEAK_ICV_STATUS_NOT_SUPPORTED)
145 ,
Exception(msg, PEAK_ICV_STATUS_NOT_POSSIBLE)
167 ,
Exception(msg, PEAK_ICV_STATUS_OUT_OF_RANGE)
189 ,
Exception(msg, PEAK_ICV_STATUS_MATH_ERROR)
209 ,
Exception(msg, PEAK_ICV_STATUS_TARGET_NOT_FOUND)
229 ,
Exception(msg, PEAK_ICV_STATUS_CORRUPTED)
251 ,
Exception(msg, PEAK_ICV_STATUS_IO_ERROR)
273 ,
Exception(msg, PEAK_ICV_STATUS_NULL_POINTER)
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.
Occurs when reading from a file or stream that is incomplete, damaged, or in an unexpected format.
CorruptedException(const std::string &msg)
CorruptedException(const CorruptedException &other) noexcept
Base class for all exceptions thrown by the IDS peak ICV library.
peak_icv_status GetStatus() const
Exception(const std::string &msg, peak_icv_status status)
Occurs when a file operation fails (e.g., missing file, insufficient permissions, or inaccessible dir...
IOException(const std::string &msg)
IOException(const IOException &other) noexcept
Occurs when a failure happens during processing due to an unhandled internal routine condition.
InternalErrorException(const std::string &msg, peak_icv_status status)
InternalErrorException(const InternalErrorException &other) noexcept
Occurs when a required dependency is missing, the library is not initialized, or a misconfiguration a...
InvalidConfigurationException(const std::string &msg, peak_icv_status status)
InvalidConfigurationException(const InvalidConfigurationException &other) noexcept
Occurs when a mathematical computation fails (e.g., division by zero or invalid matrix operations).
MathErrorException(const MathErrorException &other) noexcept
MathErrorException(const std::string &msg)
Occurs when input parameters do not match expected conditions (e.g., two input images have different ...
MismatchException(const MismatchException &other) noexcept
MismatchException(const std::string &msg)
Occurs when an operation cannot be performed due to logical constraints (e.g., camera calibration wit...
NotPossibleException(const std::string &msg)
NotPossibleException(const NotPossibleException &other) noexcept
Occurs when a requested operation is not implemented or supported (e.g., exporting to an unsupported ...
NotSupportedException(const NotSupportedException &other) noexcept
NotSupportedException(const std::string &msg)
Occurs when attempting to access an object or value via an uninitialized or null pointer.
NullPointerException(const std::string &msg)
NullPointerException(const NullPointerException &other) noexcept
Occurs when a provided value falls outside the allowed valid range.
OutOfRangeException(const OutOfRangeException &other) noexcept
OutOfRangeException(const std::string &msg)
Occurs when an expected target object (e.g., calibration plate or marker) is not detected in the inpu...
TargetNotFoundException(const TargetNotFoundException &other) noexcept
TargetNotFoundException(const std::string &msg)