Class ConstructorException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DuplicateKeyException
General exception during construction step
- 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
-
ConstructorException
public ConstructorException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark, Throwable cause) Create- Parameters:
context
- - part of the documentcontextMark
- - context positionproblem
- - the issueproblemMark
- - problem positioncause
- - the reason
-
ConstructorException
public ConstructorException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark) Create- Parameters:
context
- - part of the documentcontextMark
- - context positionproblem
- - the issueproblemMark
- - problem position
-