Class ComposerException
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.ComposerException
- All Implemented Interfaces:
Serializable
General exception during composition 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
-
ComposerException
public ComposerException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark) Create- Parameters:
context
- - part of the documentcontextMark
- - context positionproblem
- - the issueproblemMark
- - the problem location
-
ComposerException
Create- Parameters:
problem
- - the issueproblemMark
- - the problem location
-