libCZI
Reading and Writing CZI documents made easy
Loading...
Searching...
No Matches
libCZI::LibCZIAccessorException Class Reference

Exception for signaling errors specific for accessors. More...

#include <libCZI_exceptions.h>

Inheritance diagram for libCZI::LibCZIAccessorException:
libCZI::LibCZIException

Public Types

enum class  ErrorType { CouldntDeterminePixelType , Unspecified }
 Values that represent error types. More...
 

Public Member Functions

 LibCZIAccessorException (const char *szErrMsg, ErrorType errorType)
 
ErrorType GetErrorType () const
 
- Public Member Functions inherited from libCZI::LibCZIException
 LibCZIException (const char *szErrMsg)
 

Detailed Description

Exception for signaling errors specific for accessors.

Member Enumeration Documentation

◆ ErrorType

Values that represent error types.

Enumerator
CouldntDeterminePixelType 

The pixeltype could not be determined.

Unspecified 

Unspecified error.

Constructor & Destructor Documentation

◆ LibCZIAccessorException()

libCZI::LibCZIAccessorException::LibCZIAccessorException ( const char *  szErrMsg,
ErrorType  errorType 
)
inline

Constructor for the LibCZIAccessorException.

Parameters
szErrMsgMessage describing the error. This type is used to signal error that are specific for accessors.
errorTypeType of the error.

Member Function Documentation

◆ GetErrorType()

ErrorType libCZI::LibCZIAccessorException::GetErrorType ( ) const
inline

Gets error type.

Returns
The error type.

The documentation for this class was generated from the following file: