Parser Exception

Defined in package com.scandit.datacapture.parser

ParserException
class ParserException : RuntimeException

Added in version 6.14.0

An exception that signals a failure of some sort related to parsing.

ParserException()
ParserException(int code,
        @NonNull String message,
        @NonNull Map<ParserIssueAdditionalInfoKey, @NonNull String> additionalInfo)

Added in version 6.14.0

Constructs a new parser exception with the specified code, message and additional info.

code
int getCode()

Added in version 6.14.0

Code that identifies the type of error.

additionalInfo
@NonNull Map<ParserIssueAdditionalInfoKey, @NonNull String> getAdditionalInfo()

Added in version 6.14.0

Dictionary that provides additional info regarding the error.