Package io.permazen.util
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
io.permazen.util.ParseException
- All Implemented Interfaces:
Serializable
Exception for parse errors associated with a
ParseContext
.- See Also:
-
Constructor Summary
ConstructorDescriptionParseException
(ParseContext ctx, String message) ParseException
(ParseContext ctx, String message, Throwable cause) ParseException
(ParseContext ctx, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionaddCompletion
(String completion) addCompletions
(Iterable<String> completions) addCompletions
(String... completions) addCompletions
(Stream<String> completions) Get the associatedParseContext
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseException
-
ParseException
-
ParseException
-
ParseException
-
-
Method Details
-
getParseContext
Get the associatedParseContext
.- Returns:
- context for parse error
-
getCompletions
-
addCompletion
-
addCompletions
-
addCompletions
-
addCompletions
-