Class PdfException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadPasswordException, InlineImageParsingUtils.InlineImageParseException, InvalidXRefPrevException, MemoryLimitsAwareException, PdfAConformanceException, SvgProcessingException, UnsupportedSecurityHandlerException, XrefCycledReferencesException

public class PdfException extends ITextException
Exception class for exceptions in kernel module.
See Also:
  • Field Details

    • object

      protected Object object
      Object for more details
  • Constructor Details

    • PdfException

      public PdfException (String message)
      Creates a new instance of PdfException.
      Parameters:
      message - the detail message.
    • PdfException

      public PdfException (Throwable cause)
      Creates a new instance of PdfException.
      Parameters:
      cause - the cause (which is saved for later retrieval by Throwable.getCause() method).
    • PdfException

      public PdfException (String message, Object obj)
      Creates a new instance of PdfException.
      Parameters:
      message - the detail message.
      obj - an object for more details.
    • PdfException

      public PdfException (String message, Throwable cause)
      Creates a new instance of PdfException.
      Parameters:
      message - the detail message.
      cause - the cause (which is saved for later retrieval by Throwable.getCause() method).
    • PdfException

      public PdfException (String message, Throwable cause, Object obj)
      Creates a new instance of PdfException.
      Parameters:
      message - the detail message.
      cause - the cause (which is saved for later retrieval by Throwable.getCause() method).
      obj - an object for more details.
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • setMessageParams

      public PdfException setMessageParams (Object... messageParams)
      Sets additional params for Exception message.
      Parameters:
      messageParams - additional params.
      Returns:
      object itself.
    • getMessageParams

      protected Object[] getMessageParams()
      Gets additional params for Exception message.
      Returns:
      array of additional params