Class COSParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class COSParseException
    extends COSException
    A syntax or structural error encountered while lexing/parsing PDF COS syntax, tagged with the byte offset it occurred at to aid debugging of malformed files.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      COSParseException​(java.lang.String message, int offset)  
      COSParseException​(java.lang.String message, int offset, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getOffset()  
      • 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

      • COSParseException

        public COSParseException​(java.lang.String message,
                                 int offset)
      • COSParseException

        public COSParseException​(java.lang.String message,
                                 int offset,
                                 java.lang.Throwable cause)
    • Method Detail

      • getOffset

        public int getOffset()