Top Description Fields Constructors Methods
jdk.javadoc.internal.doclets.formats.html.taglets.snippet

public Class ParseException

extends Exception
Class Inheritance
Imports
java.util.function.Supplier

An exception thrown by Parser and MarkupParser. This exception is only used to capture a user-facing error message. The message supplier is accepted not to control when to obtain a message, but to abstract how to obtain it.

Field Summary

Modifier and TypeField and Description
private final int
private static final long

Constructor Summary

AccessConstructor and Description
public
ParseException(Supplier<String> messageSupplier, int position)

Method Summary

Modifier and TypeMethod and Description
public int

Field Detail

indexback to summary
private final int index
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Annotations
@Serial

Constructor Detail

ParseExceptionback to summary
public ParseException(Supplier<String> messageSupplier, int position)

Method Detail

getPositionback to summary
public int getPosition()