Uses of Class
jdk.jshell.JShellException
-
Packages that use JShellException Package Description jdk.jshell 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
Subclasses of JShellException in jdk.jshell Modifier and Type Class Description class
EvalException
Wraps an throwable thrown in the executing client.class
UnresolvedReferenceException
Exception reported on attempting to execute aRECOVERABLE_DEFINED
snippet.Methods in jdk.jshell that return JShellException Modifier and Type Method Description JShellException
SnippetEvent. exception()
An instance ofUnresolvedReferenceException
, if an unresolved reference was encountered, or an instance ofEvalException
if an exception was thrown during execution, otherwisenull
.JShellException
EvalException. getCause()
Returns the wrapped cause of the throwable in the executing client represented by thisEvalException
ornull
if the cause is nonexistent or unknown.
-