public class ScannerException extends MarkedYamlEngineException
Scanner
implementations in case of malformed
input.Constructor and Description |
---|
ScannerException(String problem,
Optional<Mark> problemMark) |
ScannerException(String context,
Optional<Mark> contextMark,
String problem,
Optional<Mark> problemMark)
Constructs an instance.
|
getContext, getContextMark, getMessage, getProblem, getProblemMark, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ScannerException(String context, Optional<Mark> contextMark, String problem, Optional<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.Copyright © 2020 Hazelcast, Inc.. All rights reserved.