Table of Contents

Class PdfException

Namespace
iText.Kernel.Exceptions
Assembly
itext.kernel.dll

Exception class for exceptions in kernel module.

public class PdfException : ITextException
Inheritance
PdfException
Derived

Constructors

PdfException(Exception)

Creates a new instance of PdfException.

public PdfException(Exception cause)

Parameters

cause Exception

the cause (which is saved for later retrieval by InnerException method).

PdfException(string)

Creates a new instance of PdfException.

public PdfException(string message)

Parameters

message string

the detail message.

PdfException(string, Exception)

Creates a new instance of PdfException.

public PdfException(string message, Exception cause)

Parameters

message string

the detail message.

cause Exception

the cause (which is saved for later retrieval by InnerException method).

PdfException(string, Exception, object)

Creates a new instance of PdfException.

public PdfException(string message, Exception cause, object obj)

Parameters

message string

the detail message.

cause Exception

the cause (which is saved for later retrieval by InnerException method).

obj object

an object for more details.

PdfException(string, object)

Creates a new instance of PdfException.

public PdfException(string message, object obj)

Parameters

message string

the detail message.

obj object

an object for more details.

Fields

object

Object for more details

protected object @object

Field Value

object

Properties

Message

public override string Message { get; }

Property Value

string

Methods

GetMessageParams()

Gets additional params for Exception message.

protected virtual object[] GetMessageParams()

Returns

object[]

array of additional params

SetMessageParams(params object[])

Sets additional params for Exception message.

public virtual PdfException SetMessageParams(params object[] messageParams)

Parameters

messageParams object[]

additional params.

Returns

PdfException

object itself.