Class DuplicateKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.snakeyaml.engine.v2.exceptions.YamlEngineException
org.snakeyaml.engine.v2.exceptions.MarkedYamlEngineException
org.snakeyaml.engine.v2.exceptions.ConstructorException
org.snakeyaml.engine.v2.exceptions.DuplicateKeyException
- All Implemented Interfaces:
Serializable
Indicate duplicate keys in the same mapping during parsing
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.snakeyaml.engine.v2.exceptions.MarkedYamlEngineException
getContext, getContextMark, getMessage, getProblem, getProblemMark, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
DuplicateKeyException
Create- Parameters:
contextMark
- - the context locationkey
- - the data used as key more than once in the same mappingproblemMark
- - the problem location
-