## 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 exception thrown in the remotely executing client.
    `class` | `UnresolvedReferenceException` | Exception reported on attempting to execute a `RECOVERABLE_DEFINED` snippet.

    Methods in jdk.jshell that return JShellException
    Modifier and Type | Method | Description
    --- | --- | ---
    `JShellException` | SnippetEvent.`exception​()` | An instance of `UnresolvedReferenceException`, if an unresolved reference was encountered, or an instance of `EvalException` if an exception was thrown during execution, otherwise `null`.