Class ConfigParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ultikits.ultitools.config.document.ConfigParseException
All Implemented Interfaces:
Serializable

@Internal public final class ConfigParseException extends Exception
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 Details

  • Constructor Details

    • ConfigParseException

      public ConfigParseException(String message, Throwable cause)
      Creates the exception.
      Parameters:
      message - the parser's message
      cause - the parser's exception, or null