37 : std::runtime_error(szErrMsg)
81 int numberOfCharsParsedOk;
90 :
LibCZIException(szErrMsg), errorType(errorType), numberOfCharsParsedOk(numberOfCharsParsedOk)
128 std::uint64_t offset;
144 std::uint64_t
GetOffset()
const {
return this->offset; }
150 std::uint64_t
GetSize()
const {
return this->size; }
Exception for signalling that a string did not parse correctly.
Definition: libCZI_exceptions.h:68
ErrorCode
Values that represent different error conditions.
Definition: libCZI_exceptions.h:185
int GetNumberOfCharsParsedOk() const
Definition: libCZI_exceptions.h:100
ErrorType
Values that represent error types.
Definition: libCZI_exceptions.h:46
Base class for all libCZI-specific exceptions.
Definition: libCZI_exceptions.h:31
LibCZIException(const char *szErrMsg)
Definition: libCZI_exceptions.h:36
Exception for signalling errors specific for accessors.
Definition: libCZI_exceptions.h:42
Definition: libCZI_exceptions.h:125
The string parsed has an invalid syntax.
ErrorCode
Values that represent different error conditions.
Definition: libCZI_exceptions.h:158
An enum constant representing that not the expected amount of data could be read. ...
LibCZIAccessorException(const char *szErrMsg, ErrorType errorType)
Definition: libCZI_exceptions.h:58
std::uint64_t GetSize() const
Definition: libCZI_exceptions.h:150
LibCZIIOException(const char *szErrMsg, std::uint64_t offset, std::uint64_t size)
Definition: libCZI_exceptions.h:137
std::uint64_t GetOffset() const
Definition: libCZI_exceptions.h:144
An enum constant representing that the plane-coordinate contained a dimension which is not used to sp...
Exception for signalling errors parsing the CZI-stream.
Definition: libCZI_exceptions.h:155
ErrorType
Values that represent error types.
Definition: libCZI_exceptions.h:72
LibCZIStringParseException(const char *szErrMsg, int numberOfCharsParsedOk, ErrorType errorType)
Definition: libCZI_exceptions.h:89
An enum constant representing that the plane-coordinate did not contain a coordinate which is require...
When parsing a string representation of a coordinate, it was detected, that a dimension occured more ...
ErrorCode GetErrorCode() const
Definition: libCZI_exceptions.h:176
LibCZIInvalidPlaneCoordinateException(const char *szErrMsg, ErrorCode code)
Definition: libCZI_exceptions.h:197
An enum constant representing that the data was detected to be bogus.
External interfaces, classes, functions and structs are found in the namespace "libCZI".
Definition: libCZI.h:44
ErrorType GetErrorType() const
Definition: libCZI_exceptions.h:95
A range was parsed, and the start value is bigger than the end value.
Exception for signalling an incorrect plane-coordinate object.
Definition: libCZI_exceptions.h:182
ErrorType GetErrorType() const
Definition: libCZI_exceptions.h:64
LibCZICZIParseException(const char *szErrMsg, ErrorCode code)
Definition: libCZI_exceptions.h:169
An enum constant representing a dimension was specified which is not found in the document...
An enum constant representing that a coordinate was given which is out-of-range.
An internal error was detected.
The pixeltype could not be determined.