Class PdfStructureException
- Namespace
- SimpleSign.Pdf.Exceptions
- Assembly
- SimpleSign.Pdf.dll
Thrown when a PDF file has a structural problem that prevents parsing — for example, a malformed cross-reference table, missing trailer, or invalid startxref offset.
public sealed class PdfStructureException : SimpleSignException, ISerializable
- Inheritance
-
PdfStructureException
- Implements
- Inherited Members
Constructors
PdfStructureException()
Creates a new instance with no message.
public PdfStructureException()
PdfStructureException(string)
Creates a new instance with the specified message.
public PdfStructureException(string message)
Parameters
messagestring
PdfStructureException(string, Exception)
Creates a new instance with the specified message and inner exception.
public PdfStructureException(string message, Exception innerException)
Parameters
PdfStructureException(string, Exception, long?)
Creates a new instance with the specified message, inner exception, and byte offset.
public PdfStructureException(string message, Exception innerException, long? byteOffset)
Parameters
PdfStructureException(string, long?)
Creates a new instance with the specified message and byte offset.
public PdfStructureException(string message, long? byteOffset)
Parameters
messagestringA description of the structural problem.
byteOffsetlong?Byte offset in the PDF where the error was detected.
Properties
ByteOffset
Byte offset within the PDF where the structural error was detected, if known.
public long? ByteOffset { get; }
Property Value
- long?