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
Exceptionthe cause (which is saved for later retrieval by InnerException method).
PdfException(string)
Creates a new instance of PdfException.
public PdfException(string message)
Parameters
message
stringthe detail message.
PdfException(string, Exception)
Creates a new instance of PdfException.
public PdfException(string message, Exception cause)
Parameters
message
stringthe detail message.
cause
Exceptionthe 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
stringthe detail message.
cause
Exceptionthe cause (which is saved for later retrieval by InnerException method).
obj
objectan object for more details.
PdfException(string, object)
Creates a new instance of PdfException.
public PdfException(string message, object obj)
Parameters
Fields
object
Object for more details
protected object @object
Field Value
Properties
Message
public override string Message { get; }
Property Value
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.