libCZI
Reading CZI documents made easy
libCZI::LibCZIQueryExecutionException Class Reference

Exception for signaling errors when evaluating a query. More...

#include <libCZI_exceptions.h>

Inheritance diagram for libCZI::LibCZIQueryExecutionException:
libCZI::LibCZIException

Public Types

enum  ErrorType { NonExistentDimension, InternalError }
 Values that represent different error conditions.
 

Public Member Functions

 LibCZIQueryExecutionException (const char *szErrMsg, ErrorType errorType)
 
 LibCZIQueryExecutionException (const std::string &errMsg, ErrorType errorType)
 
ErrorType GetErrorType () const
 
- Public Member Functions inherited from libCZI::LibCZIException
 LibCZIException (const char *szErrMsg)
 

Detailed Description

Exception for signaling errors when evaluating a query.

Constructor & Destructor Documentation

◆ LibCZIQueryExecutionException() [1/2]

libCZI::LibCZIQueryExecutionException::LibCZIQueryExecutionException ( const char *  szErrMsg,
ErrorType  errorType 
)
inlineexplicit

Constructor for the LibCZIQueryExecutionException-exception. This exception is used to signal errors when evaluating a query.

Parameters
szErrMsgMessage describing the error.
errorTypeType of the error.

◆ LibCZIQueryExecutionException() [2/2]

libCZI::LibCZIQueryExecutionException::LibCZIQueryExecutionException ( const std::string &  errMsg,
ErrorType  errorType 
)
inlineexplicit

Constructor for the LibCZIQueryExecutionException-exception. This exception is used to signal errors when evaluating a query.

Parameters
errMsgMessage describing the error.
errorTypeType of the error.

Member Function Documentation

◆ GetErrorType()

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

Gets error type

Returns
The error type.

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