Search Results for

    Show / Hide Table of Contents

    Class IronBarCodeParsingException

    Represents errors that occur during the parsing of structured barcode data by IronBarCode.

    Inheritance
    System.Object
    IronBarCodeException
    IronBarCodeParsingException
    Namespace: IronBarCode.Exceptions
    Assembly: IronBarCode.dll
    Syntax
    public class IronBarCodeParsingException : IronBarCodeException

    IronBarCodeParsingException is raised when IronBarcode detects a barcode but cannot interpret its decoded contents, for example when the data does not match the structure a standard such as GS1 expects. It points to malformed or unexpected payload data rather than a problem reading the image itself. Inspect the raw decoded value, confirm it follows the format the parser requires, and handle nonconforming codes explicitly before reusing the result. It derives from IronBarCodeException, so the base type catches it as well.

    Properties

    Input

    The input that caused the parsing error

    Declaration
    public string Input { get; }
    Property Value
    Type Description
    System.String

    ParserType

    Type of parser that failed (e.g., "GS1", "Code128", "QR", etc.)

    Declaration
    public string ParserType { get; }
    Property Value
    Type Description
    System.String

    Position

    Position in the input where the error occurred (if applicable)

    Declaration
    public Nullable<int> Position { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    ValidationErrors

    List of validation errors from ParseResult

    Declaration
    public IReadOnlyList<string> ValidationErrors { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<System.String>

    ValidationWarnings

    List of validation warnings from ParseResult

    Declaration
    public IReadOnlyList<string> ValidationWarnings { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<System.String>

    See Also

    IronBarCodeException
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget