Class InvalidExponentNumberException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
technology.sola.json.tokenizer.exception.InvalidExponentNumberException
All Implemented Interfaces:
Serializable, SolaJsonParsingError

@NullMarked public class InvalidExponentNumberException extends RuntimeException implements SolaJsonParsingError
Exception thrown when an invalid exponential number is found during tokenization.
See Also:
  • Constructor Details

    • InvalidExponentNumberException

      public InvalidExponentNumberException(int line, int column)
      Creates a new instance of this exception.
      Parameters:
      line - the line where the invalid character was found
      column - the column where the invalid character was found
  • Method Details

    • getLine

      public int getLine()
      Specified by:
      getLine in interface SolaJsonParsingError
      Returns:
      the line where the syntax error began
    • getColumn

      public int getColumn()
      Specified by:
      getColumn in interface SolaJsonParsingError
      Returns:
      the column where the syntax error began