Package org.tomlj
Class TomlBindException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tomlj.TomlBindException
- All Implemented Interfaces:
Serializable
Thrown when a table or array cannot be bound to a Java type.
Binding does not stop at the first error: the exception is thrown once every value has been bound, and holds every error found, in document order. The exception behind each error that has one, such as an exception thrown by a converter, is added as a suppressed exception, so its stack trace is printed with this one.
- 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 errors, in document order, with errors that have no position last. Never empty.
-