|
libCZI
Reading CZI documents made easy
|
Exception for signalling that a string did not parse correctly. More...
#include <libCZI_exceptions.h>
Public Types | |
| enum | ErrorType { ErrorType::InvalidSyntax, ErrorType::DuplicateDimension, ErrorType::FromGreaterThanTo, ErrorType::Unspecified } |
| Values that represent error types. More... | |
Public Member Functions | |
| LibCZIStringParseException (const char *szErrMsg, int numberOfCharsParsedOk, ErrorType errorType) | |
| ErrorType | GetErrorType () const |
| int | GetNumberOfCharsParsedOk () const |
Public Member Functions inherited from libCZI::LibCZIException | |
| LibCZIException (const char *szErrMsg) | |
Exception for signalling that a string did not parse correctly.
|
strong |
Values that represent error types.
|
inline |
Constructor for the LibCZIStringParseException. This type is used to signal that a string did not parse correctly.
| szErrMsg | Message describing the error. |
| numberOfCharsParsedOk | Number of characters parsed ok. The parse error occured after this position. If negative, then this information is not available. |
| errorType | Type of the error. |
|
inline |
Gets error type.
|
inline |
Gets number of characters that parsed correctly. The parse error occured after this position. If this number is negative, then this information is not available and valid.