Class ReaderException

    • Constructor Detail

      • ReaderException

        public ReaderException​(String name,
                               int position,
                               int codePoint,
                               String message)
        Create
        Parameters:
        name - - the name of the reader
        position - - the position from the beginning of the stream
        codePoint - - the invalid character
        message - - the problem
    • Method Detail

      • getName

        public String getName()
        getter
        Returns:
        the name of the reader
      • getCodePoint

        public int getCodePoint()
        getter
        Returns:
        the invalid char
      • getPosition

        public int getPosition()
        getter
        Returns:
        position of the error