Skip to content

Class XmpMetadataReaderException

Represent an exception that occurs during the parsing of a FacturXDotNet.Models.XMP.XmpMetadata.

Assembly: FacturXDotNet.dll
csharp
public class XmpMetadataReaderException : FacturXDotNetException, ISerializable

Inheritance: System.Object -> System.Exception -> FacturXDotNet.Exceptions.FacturXDotNetException

Implements:
System.Runtime.Serialization.ISerializable

Methods

ParsingError(ReadOnlySpan<char>, int, int, string)

Represent an exception that occurs while reading a FacturXDotNet.Models.CII.CrossIndustryInvoice.

csharp
public static XmpMetadataReaderException ParsingError(ReadOnlySpan<char> path, int line, int column, string message)
Returns

FacturXDotNet.Parsing.XMP.Exceptions.XmpMetadataReaderException

Parameters
TypeNameDescription
System.ReadOnlySpan<System.Char>pathThe XPath where the exception occurs
System.Int32lineThe line of the file where the exception occurs
System.Int32columnThe column of the file where the exception occurs
System.StringmessageThe message of the exception

ParsingError(ReadOnlySpan<char>, int, int, Exception)

Represent an exception that occurs while reading a FacturXDotNet.Models.CII.CrossIndustryInvoice.

csharp
public static XmpMetadataReaderException ParsingError(ReadOnlySpan<char> path, int line, int column, Exception exception)
Returns

FacturXDotNet.Parsing.XMP.Exceptions.XmpMetadataReaderException

Parameters
TypeNameDescription
System.ReadOnlySpan<System.Char>pathThe XPath where the exception occurs
System.Int32lineThe line of the file where the exception occurs
System.Int32columnThe column of the file where the exception occurs
System.ExceptionexceptionThe exception that occurred

Implements

  • System.Runtime.Serialization.ISerializable

The tools are open source and released under the MIT License, feel free to use, modify, and share.