public class ScannerException extends MarkedYAMLException
Scanner implementations in case of malformed input.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ScannerException(java.lang.String context,
Mark contextMark,
java.lang.String problem,
Mark problemMark)
Constructs an instance.
|
ScannerException(java.lang.String context,
Mark contextMark,
java.lang.String problem,
Mark problemMark,
java.lang.String note)
Constructs an instance.
|
getContext, getContextMark, getMessage, getProblem, getProblemMark, toStringprivate static final long serialVersionUID
public ScannerException(java.lang.String context,
Mark contextMark,
java.lang.String problem,
Mark problemMark,
java.lang.String note)
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.note - Message for the user with further information about the problem.public ScannerException(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.