Package org.tomlj

Class TomlParseError

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tomlj.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

    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
  • Method Details

    • 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