Class ParseEOFException

    • Constructor Summary

      Constructors 
      Constructor Description
      ParseEOFException​(java.io.Reader reader)
      Reader constructor with a default message and no cause.
      ParseEOFException​(java.io.Reader reader, java.lang.String message)
      Reader and message constructor with no cause.
      ParseEOFException​(java.lang.String message, long lineIndex, long charIndex)
      Reader and message constructor with no cause.
    • Constructor Detail

      • ParseEOFException

        public ParseEOFException​(java.io.Reader reader)
        Reader constructor with a default message and no cause. This constructor will attempt to determine the location from the reader.
        Parameters:
        reader - The reader from which the error occurred.
        Throws:
        java.lang.NullPointerException - if the given reader is null.
        See Also:
        LineNumberReader
      • ParseEOFException

        public ParseEOFException​(java.io.Reader reader,
                                 java.lang.String message)
        Reader and message constructor with no cause. This constructor will attempt to determine the location from the reader.
        Parameters:
        reader - The reader from which the error occurred.
        message - The error message, or null if there is no error message.
        Throws:
        java.lang.NullPointerException - if the given reader is null.
      • ParseEOFException

        public ParseEOFException​(java.lang.String message,
                                 long lineIndex,
                                 long charIndex)
        Reader and message constructor with no cause. This constructor will attempt to determine the location from the reader.
        Parameters:
        message - The error message, or null if there is no error message.
        lineIndex - The index of the line in which the error occurred, or -1 if not known.
        charIndex - The index of the character at which the error occurred on the current line, or -1 if not known.
        Throws:
        java.lang.NullPointerException - if the given reader is null.