Class ConfigDuplicateKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.arthurhoch.kissconfig.exceptions.ConfigException
io.github.arthurhoch.kissconfig.exceptions.ConfigDuplicateKeyException
- All Implemented Interfaces:
Serializable
Thrown when duplicate canonical keys are not allowed by the active merge strategy.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConfigDuplicateKeyException(String message, String key, String source) Creates a duplicate key exception. -
Method Summary
Methods inherited from class io.github.arthurhoch.kissconfig.exceptions.ConfigException
key, safeValue, source, targetTypeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigDuplicateKeyException
Creates a duplicate key exception.- Parameters:
message- messagekey- duplicate keysource- source
-