29 ZIVID_COMMON
explicit Exception(
const std::string &message);
33 ZIVID_COMMON
const char*
what()
const noexcept
override;
36 std::string m_message;
56 ZIVID_COMMON
explicit IOException(
const std::string &message);
81 ZIVID_COMMON std::string
toString(
const std::exception &exception);
85 #if __has_include("InternalExceptions.h") 87 #include "InternalExceptions.h" 91 class SettingsInternal;
An exception that is thrown when an unpredictable event caused an operation to fail.
Definition: Exception.h:72
An exception that is thrown when an argument provided to a method is invalid.
Definition: Exception.h:42
ZIVID_COMMON const char * what() const noexcept override
Get the message for the exception
A common base class for all Zivid exceptions.
Definition: Exception.h:25
Definition: Application.h:19
Definitions for export of DLL interfaces
ZIVID_COMMON Exception(const std::string &message)
Constructor
An exception that is thrown when attempting to do an operation that doesn't make sense in the current...
Definition: Exception.h:62
ZIVID_COMMON std::string toString(const std::exception &exception)
Get string representation of the exception
An exception that is thrown whenever an I/O error occurs.
Definition: Exception.h:52