Package org.yaml.snakeyaml.constructor
Class DuplicateKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.yaml.snakeyaml.error.YAMLException
org.yaml.snakeyaml.error.MarkedYAMLException
org.yaml.snakeyaml.constructor.ConstructorException
org.yaml.snakeyaml.constructor.DuplicateKeyException
- All Implemented Interfaces:
Serializable
Indicate mapping with the same key
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DuplicateKeyException
(Mark contextMark, Object key, Mark problemMark) Create -
Method Summary
Methods inherited from class org.yaml.snakeyaml.error.MarkedYAMLException
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
- - context locationkey
- - the key which is not uniqueproblemMark
- - the problem location
-