# Uses of Class
jdk.jshell.spi.ExecutionControl.InternalException

Packages that use ExecutionControl.InternalException
Package | Description
--- | ---
jdk.jshell.execution | Provides implementation support for building JShell execution engines.
jdk.jshell.spi | Defines the Service Provider Interface for pluggable JShell execution engines.

## Uses of ExecutionControl.InternalException in jdk.jshell.execution

Methods in jdk.jshell.execution that throw ExecutionControl.InternalException
Modifier and Type | Method | Description
--- | --- | ---
`void` | LoaderDelegate.`addToClasspath​(String path)` | Adds the path to the execution class path.
`protected void` | DirectExecutionControl.`clientCodeEnter()` | Marks entry into user code.
`protected void` | DirectExecutionControl.`clientCodeLeave()` | Marks departure from user code.
`void` | DirectExecutionControl.`stop()` | Interrupts a running invoke.
`void` | JdiDefaultExecutionControl.`stop()` | Interrupts a running remote invoke by manipulating remote variables and sending a stop via JDI.
`protected String` | DirectExecutionControl.`throwConvertedInvocationException​(Throwable cause)` | Converts incoming exceptions in user code into instances of subtypes of `ExecutionControl.ExecutionControlException` and throws the converted exception.
`protected String` | DirectExecutionControl.`throwConvertedOtherException​(Throwable ex)` | Converts incoming exceptions in agent code into instances of subtypes of `ExecutionControl.ExecutionControlException` and throws the converted exception.

## Uses of ExecutionControl.InternalException in jdk.jshell.spi

Subclasses of ExecutionControl.InternalException in jdk.jshell.spi
Modifier and Type | Class | Description
--- | --- | ---
`static class` | `ExecutionControl.NotImplementedException` | The command is not implemented.

Methods in jdk.jshell.spi that throw ExecutionControl.InternalException
Modifier and Type | Method | Description
--- | --- | ---
`void` | ExecutionControl.`addToClasspath​(String path)` | Adds the path to the execution class path.
`Object` | ExecutionControl.`extensionCommand​(String command, Object arg)` | Run a non-standard command (or a standard command from a newer version).
`String` | ExecutionControl.`invoke​(String className, String methodName)` | Invokes an executable Snippet by calling a method on the specified wrapper class.
`void` | ExecutionControl.`stop()` | Interrupts a running invoke.
`String` | ExecutionControl.`varValue​(String className, String varName)` | Returns the value of a variable.