org.yaml.snakeyaml.parser
Class ParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.yaml.snakeyaml.error.YAMLException
org.yaml.snakeyaml.error.MarkedYAMLException
org.yaml.snakeyaml.parser.ParserException
- All Implemented Interfaces:
- Serializable
public class ParserException
- extends MarkedYAMLException
Exception thrown by the Parser
implementations in case of malformed
input.
- See Also:
- Serialized Form
ParserException
public ParserException(String context,
Mark contextMark,
String problem,
Mark problemMark)
- Constructs an instance.
- Parameters:
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 © 2008-2011. All Rights Reserved.