Class PDFRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    PDFCosNumberParseRuntimeException

    public class PDFRuntimeException
    extends java.lang.RuntimeException
    This is the base class of all runtime exceptions that are thrown from Gibson. Inside our code this exception should be thrown, instead of creating instances of RuntimeException.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PDFRuntimeException​(PDFException ex)
      Creates a PDFRuntimeException by wrapping a PDFException
      PDFRuntimeException​(java.lang.String message)
      Constructor with a string message
      PDFRuntimeException​(java.lang.String message, java.lang.Throwable ex)
      Creates a PDFRuntimeException by wrapping a Exception and a message
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PDFRuntimeException

        public PDFRuntimeException​(java.lang.String message)
        Constructor with a string message
      • PDFRuntimeException

        public PDFRuntimeException​(PDFException ex)
        Creates a PDFRuntimeException by wrapping a PDFException
      • PDFRuntimeException

        public PDFRuntimeException​(java.lang.String message,
                                   java.lang.Throwable ex)
        Creates a PDFRuntimeException by wrapping a Exception and a message