public class ParserException extends MarkedYAMLException
Parser
implementations in case of malformed
input.Constructor and Description |
---|
ParserException(java.lang.String context,
Mark contextMark,
java.lang.String problem,
Mark problemMark)
Constructs an instance.
|
getContext, getContextMark, getMessage, getProblem, getProblemMark, toString
public ParserException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark)
context
- Part of the input document in which vicinity the problem
occurred.contextMark
- Position of the context
within the document.problem
- Part of the input document that caused the problem.problemMark
- Position of the problem
. within the document.