Uses of Class
jdk.jshell.JShellException
Package
Description
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
-
Uses of JShellException in jdk.jshell
Modifier and TypeClassDescriptionclass
Wraps an throwable thrown in the executing client.class
Exception reported on attempting to execute aRECOVERABLE_DEFINED
snippet.Modifier and TypeMethodDescriptionSnippetEvent.exception()
An instance ofUnresolvedReferenceException
, if an unresolved reference was encountered, or an instance ofEvalException
if an exception was thrown during execution, otherwisenull
.EvalException.getCause()
Returns the wrapped cause of the throwable in the executing client represented by thisEvalException
ornull
if the cause is nonexistent or unknown.