Skip to main content

Class PdfFormatException

Namespace: AdCodicem.Pdf.Diagnostics
Assembly: AdCodicem.Pdf.dll

Thrown when the input is not a PDF file, or is damaged beyond repair.

public sealed class PdfFormatException : PdfException, ISerializable

Inheritance​

object ← Exception ← PdfException ← PdfFormatException

Implements​

ISerializable

Inherited Members​

Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

PdfFormatException(string)​

Initializes a new instance.

public PdfFormatException(string message)

Parameters​

message string

PdfFormatException(string, Exception)​

Initializes a new instance.

public PdfFormatException(string message, Exception innerException)

Parameters​

message string

innerException Exception