Top Description Constructors
org.snakeyaml.engine.v2.exceptions

public Class DuplicateKeyException

extends ConstructorException
Class Inheritance
Imports
java.util.Optional

Indicate duplicate keys in the same mapping during parsing

Constructor Summary

AccessConstructor and Description
public
DuplicateKeyException(Optional<Mark>
- the context location
contextMark
,
Object
- the data used as key more than once in the same mapping
key
,
Optional<Mark>
- the problem location
problemMark
)

Create

Constructor Detail

DuplicateKeyExceptionback to summary
public DuplicateKeyException(Optional<Mark> contextMark, Object key, Optional<Mark> problemMark)

Create

Parameters
contextMark:Optional<Mark>

- the context location

key:Object

- the data used as key more than once in the same mapping

problemMark:Optional<Mark>

- the problem location