iText 8.0.2 API
iText.Kernel.Exceptions.PdfException Class Reference

Exception class for exceptions in kernel module. More...

Inheritance diagram for iText.Kernel.Exceptions.PdfException:
iText.Commons.Exceptions.ITextException iText.Kernel.Crypto.Securityhandler.UnsupportedSecurityHandlerException iText.Kernel.Exceptions.BadPasswordException iText.Kernel.Exceptions.InvalidXRefPrevException iText.Kernel.Exceptions.MemoryLimitsAwareException iText.Kernel.Exceptions.XrefCycledReferencesException iText.Kernel.Pdf.Canvas.Parser.Util.InlineImageParsingUtils.InlineImageParseException iText.Pdfa.Exceptions.PdfAConformanceException iText.Svg.Exceptions.SvgProcessingException

Public Member Functions

  PdfException (String message)
  Creates a new instance of PdfException. More...
 
  PdfException (Exception cause)
  Creates a new instance of PdfException. More...
 
  PdfException (String message, Object obj)
  Creates a new instance of PdfException. More...
 
  PdfException (String message, Exception cause)
  Creates a new instance of PdfException. More...
 
  PdfException (String message, Exception cause, Object obj)
  Creates a new instance of PdfException. More...
 
virtual iText.Kernel.Exceptions.PdfException  SetMessageParams (params Object[] messageParams)
  Sets additional params for Exception message. More...
 
- Public Member Functions inherited from iText.Commons.Exceptions.ITextException
  ITextException ()
  Creates a new ITextException with no error message and cause. More...
 
  ITextException (String message)
  Creates a new ITextException. More...
 
  ITextException (Exception cause)
  Creates a new ITextException. More...
 
  ITextException (String message, Exception cause)
  Creates a new ITextException. More...
 

Properties

override String  Message [get]
 

Detailed Description

Exception class for exceptions in kernel module.

Constructor & Destructor Documentation

◆ PdfException() [1/5]

iText.Kernel.Exceptions.PdfException.PdfException ( String  message )
inline

Creates a new instance of PdfException.

Parameters
message the detail message.

◆ PdfException() [2/5]

iText.Kernel.Exceptions.PdfException.PdfException ( Exception  cause )
inline

Creates a new instance of PdfException.

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

◆ PdfException() [3/5]

iText.Kernel.Exceptions.PdfException.PdfException ( String  message,
Object  obj 
)
inline

Creates a new instance of PdfException.

Parameters
message the detail message.
obj an object for more details.

◆ PdfException() [4/5]

iText.Kernel.Exceptions.PdfException.PdfException ( String  message,
Exception  cause 
)
inline

Creates a new instance of PdfException.

Parameters
message the detail message.
cause the cause (which is saved for later retrieval by System.Exception.InnerException() method).

◆ PdfException() [5/5]

iText.Kernel.Exceptions.PdfException.PdfException ( String  message,
Exception  cause,
Object  obj 
)
inline

Creates a new instance of PdfException.

Parameters
message the detail message.
cause the cause (which is saved for later retrieval by System.Exception.InnerException() method).
obj an object for more details.

Member Function Documentation

◆ SetMessageParams()

virtual iText.Kernel.Exceptions.PdfException iText.Kernel.Exceptions.PdfException.SetMessageParams ( params Object[]  messageParams )
inlinevirtual

Sets additional params for Exception message.

Parameters
messageParams additional params.
Returns
object itself.