Table of Contents

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

message string

PdfStructureException(string, Exception)

Creates a new instance with the specified message and inner exception.

public PdfStructureException(string message, Exception innerException)

Parameters

message string
innerException Exception

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

message string
innerException Exception
byteOffset long?

PdfStructureException(string, long?)

Creates a new instance with the specified message and byte offset.

public PdfStructureException(string message, long? byteOffset)

Parameters

message string

A description of the structural problem.

byteOffset long?

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?