libCZI
Reading and Writing CZI documents made easy
libCZI::LibCZIMetadataException Class Reference

Exception for signaling errors when accessing the XML-metadata (. More...

#include <libCZI_exceptions.h>

Inheritance diagram for libCZI::LibCZIMetadataException:
libCZI::LibCZIException

Public Types

enum class  ErrorType { InvalidPath }
 Values that represent different error conditions. More...
 

Public Member Functions

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

Detailed Description

Exception for signaling errors when accessing the XML-metadata (.

Member Enumeration Documentation

◆ ErrorType

Values that represent different error conditions.

Enumerator
InvalidPath 

the path specified in a call to IXmlNodeRead::GetChildNodeReadonly was invalid

Constructor & Destructor Documentation

◆ LibCZIMetadataException()

libCZI::LibCZIMetadataException::LibCZIMetadataException ( const char *  szErrMsg,
ErrorType  code 
)
inline

Constructor for the LibCZIMetadataBuilderException. This type is used to signal errors when using the Czi-metadata-builder-object.

Parameters
szErrMsgMessage describing the error.
codeThe error code.

Member Function Documentation

◆ GetErrorType()

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

Gets error code.

Returns
The error code.

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