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
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Char> | path | The XPath where the exception occurs |
System.Int32 | line | The line of the file where the exception occurs |
System.Int32 | column | The column of the file where the exception occurs |
System.String | message | The 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
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Char> | path | The XPath where the exception occurs |
System.Int32 | line | The line of the file where the exception occurs |
System.Int32 | column | The column of the file where the exception occurs |
System.Exception | exception | The exception that occurred |
Implements
System.Runtime.Serialization.ISerializable