Class PdfOcrException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.itextpdf.commons.exceptions.ITextException
com.itextpdf.pdfocr.exceptions.PdfOcrException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PdfOcrInputException, PdfOcrTesseract4Exception

public class PdfOcrException extends com.itextpdf.commons.exceptions.ITextException
Exception class for custom exceptions.
See Also:
  • Constructor Details

  • Method Details

    • getMessage

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

      protected Object[] getMessageParams()
      Gets additional params for Exception message.
      Returns:
      params for exception message
    • setMessageParams

      public PdfOcrException setMessageParams (String... messageParams)
      Sets additional params for Exception message.
      Parameters:
      messageParams - additional params.
      Returns:
      object itself.