Package org.tomlj

Class TomlParseError

  • All Implemented Interfaces:
    java.io.Serializable

    public final class TomlParseError
    extends java.lang.RuntimeException
    An error that occurred while parsing.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TomlPosition position()
      The position in the input where the error occurred.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

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

      • TomlParseError

        TomlParseError​(java.lang.String message,
                       TomlPosition position)
      • TomlParseError

        TomlParseError​(java.lang.String message,
                       TomlPosition position,
                       java.lang.Throwable cause)
    • Method Detail

      • position

        public TomlPosition position()
        The position in the input where the error occurred.
        Returns:
        The position in the input where the error occurred.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable