Class EndOfFileException

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

    public class EndOfFileException
    extends java.lang.Exception
    See Also:
    Serialized Form
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean endsInactiveCode()  
      int getEndOffset()
      Returns the offset at which the translation unit ends, or -1 if not known.
      • 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

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

      • EndOfFileException

        public EndOfFileException​(int offset)
        Since:
        5.2
      • EndOfFileException

        public EndOfFileException​(int offset,
                                  boolean endsInactiveCode)
        Since:
        5.2
    • Method Detail

      • endsInactiveCode

        public boolean endsInactiveCode()
        Since:
        5.1
      • getEndOffset

        public int getEndOffset()
        Returns the offset at which the translation unit ends, or -1 if not known.
        Since:
        5.2