Class ITextException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AggregatedException, AttributeNotFoundException, FontCompressionException, IOException, PdfException, ProductEventHandlerRepeatException, ReadingByteLimitException, StyledXMLParserException, UnknownProductException, WriterException, XfdfException

public class ITextException extends RuntimeException
General iText exception.

Important note, not all iText exceptions are extended from ITextException.

See Also:
  • Constructor Details

    • ITextException

      public ITextException()
      Creates a new ITextException with no error message and cause.
    • ITextException

      public ITextException (String message)
      Creates a new ITextException.
      Parameters:
      message - the detail message
    • ITextException

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

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