Class ConfigParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ultikits.ultitools.config.document.ConfigParseException
- All Implemented Interfaces:
Serializable
Thrown by
ConfigDocument.parse(String) when a config file's text is not a document this layer
reads: a YAML syntax error, a global tag such as !!java.util.UUID, a top level that is not a
mapping, or nesting deeper than the limit. The message is the parser's own message, so it names the
line and column.- Since:
- 6.3.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConfigParseException(String message, Throwable cause) Creates the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ConfigParseException
Creates the exception.- Parameters:
message- the parser's messagecause- the parser's exception, ornull
-