Uses of Class
jdk.jshell.JShellException
Packages that use 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
Subclasses of JShellException in jdk.jshellModifier and TypeClassDescriptionclassWraps an throwable thrown in the executing client.classException reported on attempting to execute aRECOVERABLE_DEFINEDsnippet.Methods in jdk.jshell that return JShellExceptionModifier and TypeMethodDescriptionSnippetEvent.exception()An instance ofUnresolvedReferenceException, if an unresolved reference was encountered, or an instance ofEvalExceptionif an exception was thrown during execution, otherwisenull.EvalException.getCause()Returns the wrapped cause of the throwable in the executing client represented by thisEvalExceptionornullif the cause is nonexistent or unknown.