Class MarkedYamlEngineException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.snakeyaml.engine.v2.exceptions.YamlEngineException
org.snakeyaml.engine.v2.exceptions.MarkedYamlEngineException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ComposerException, ConstructorException, ParserException, ScannerException
Parsing exception when the marks are available
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMarkedYamlEngineException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark) CreateprotectedMarkedYamlEngineException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark, Throwable cause) Create -
Method Summary
Modifier and TypeMethodDescriptiongettergetterGettergettergettertoString()get readable errorMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
context
-
contextMark
-
problem
-
problemMark
-
-
Constructor Details
-
MarkedYamlEngineException
protected MarkedYamlEngineException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark, Throwable cause) Create- Parameters:
context- - the context of the problemcontextMark- - position of the contextproblem- - the issueproblemMark- - position of the issuecause- - exception which was thrown
-
MarkedYamlEngineException
-
-
Method Details
-
getMessage
-
toString
-
getContext
-
getContextMark
-
getProblem
-
getProblemMark
-