|
libCZI
Reading CZI documents made easy
|
#include <libCZI_exceptions.h>
Public Member Functions | |
| LibCZIIOException (const char *szErrMsg, std::uint64_t offset, std::uint64_t size) | |
| std::uint64_t | GetOffset () const |
| std::uint64_t | GetSize () const |
Public Member Functions inherited from libCZI::LibCZIException | |
| LibCZIException (const char *szErrMsg) | |
Exception for signalling an I/O error. If the problem originates from the (external) stream-object, then the original exception is enclosed here as a nested exception. In order to access the nested exception, use something like this:
|
inline |
Constructor for the LibCZIIOException. This type is used to signal an I/O-error from the underlying stream.
| szErrMsg | Message describing the error. |
| offset | The offset (into the stream) at which the I/O-error occured. |
| size | The size of data we have attempted to read (when the I/O-error occured). |
|
inline |
Gets the offset (in bytes) into the stream at which the I/O-error occured.
|
inline |
Gets the size of data (in bytes) we attempted to read when the I/O-error occured.