Top Description Fields Constructors Methods
org.yaml.snakeyaml.parser

public Class ParserException

extends MarkedYAMLException
Class Inheritance
Imports
org.yaml.snakeyaml.error.Mark, .MarkedYAMLException

Exception thrown by the Parser implementations in case of malformed input.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ParserException(String
Part of the input document in which vicinity the problem occurred.
context
,
Mark
Position of the context within the document.
contextMark
,
String
Part of the input document that caused the problem.
problem
,
Mark
Position of the problem. within the document.
problemMark
)

Constructs an instance.

Method Summary

Inherited from org.yaml.snakeyaml.error.MarkedYAMLException:
getContextgetContextMarkgetMessagegetProblemgetProblemMarktoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.yaml.snakeyaml.error.MarkedYAMLException.serialVersionUID.

Constructor Detail

ParserExceptionback to summary
public ParserException(String context, Mark contextMark, String problem, Mark problemMark)

Constructs an instance.

Parameters
context:String

Part of the input document in which vicinity the problem occurred.

contextMark:Mark

Position of the context within the document.

problem:String

Part of the input document that caused the problem.

problemMark:Mark

Position of the problem. within the document.