Package org.tomlj
Class TomlParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tomlj.TomlParseException
- All Implemented Interfaces:
Serializable
Thrown when a document to be bound has parse errors.
Toml.parseAs(String, Class) and the other parseAs methods throw it, and bind nothing, if the document
has any parse error. It holds every parse error, in the order of the document.
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
errors
The errors found.- Returns:
- The parse errors, in the order of the document. Never empty.
-