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

public Class ConstructorException

extends MarkedYamlEngineException
Class Inheritance
Known Direct Subclasses
org.snakeyaml.engine.v2.exceptions.DuplicateKeyException
Imports
java.util.Optional

General exception during construction step

Constructor Summary

AccessConstructor and Description
public
ConstructorException(String
- part of the document
context
,
Optional<Mark>
- context position
contextMark
,
String
- the issue
problem
,
Optional<Mark>
- problem position
problemMark
,
Throwable
- the reason
cause
)

Create

public
ConstructorException(String
- part of the document
context
,
Optional<Mark>
- context position
contextMark
,
String
- the issue
problem
,
Optional<Mark>
- problem position
problemMark
)

Create

Method Summary

Inherited from org.snakeyaml.engine.v2.exceptions.MarkedYamlEngineException:
getContextgetContextMarkgetMessagegetProblemgetProblemMarktoString

Constructor Detail

ConstructorExceptionback to summary
public ConstructorException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark, Throwable cause)

Create

Parameters
context:String

- part of the document

contextMark:Optional<Mark>

- context position

problem:String

- the issue

problemMark:Optional<Mark>

- problem position

cause:Throwable

- the reason

ConstructorExceptionback to summary
public ConstructorException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark)

Create

Parameters
context:String

- part of the document

contextMark:Optional<Mark>

- context position

problem:String

- the issue

problemMark:Optional<Mark>

- problem position