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

Packages that use ExecutionControl.EngineTerminationException
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.EngineTerminationException in jdk.jshell.execution

Methods in jdk.jshell.execution that throw ExecutionControl.EngineTerminationException
Modifier and Type
Method
Description
`void`
DirectExecutionControl.`addToClasspath(String cp)`
`void`
LoaderDelegate.`addToClasspath(String path)`
Adds the path to the execution class path.
`void`
StreamingExecutionControl.`addToClasspath(String path)`
`protected void`
DirectExecutionControl.`classesRedefined(ExecutionControl.ClassBytecodes[] cbcs)`
Notify that classes have been redefined.
`Object`
DirectExecutionControl.`extensionCommand(String command, Object arg)`
`Object`
StreamingExecutionControl.`extensionCommand(String command, Object arg)`
`String`
DirectExecutionControl.`invoke(String className, String methodName)`
`String`
JdiDefaultExecutionControl.`invoke(String classname, String methodname)`
`String`
StreamingExecutionControl.`invoke(String classname, String methodname)`
`void`
DirectExecutionControl.`load(ExecutionControl.ClassBytecodes[] cbcs)`
`void`
LoaderDelegate.`load(ExecutionControl.ClassBytecodes[] cbcs)`
Attempts to load new classes.
`void`
StreamingExecutionControl.`load(ExecutionControl.ClassBytecodes[] cbcs)`
`void`
DirectExecutionControl.`redefine(ExecutionControl.ClassBytecodes[] cbcs)`
`void`
JdiExecutionControl.`redefine(ExecutionControl.ClassBytecodes[] cbcs)`
Redefine the specified classes.
`void`
RemoteExecutionControl.`redefine(ExecutionControl.ClassBytecodes[] cbcs)`
Redefine processing on the remote end is only to register the redefined classes
`void`
StreamingExecutionControl.`redefine(ExecutionControl.ClassBytecodes[] cbcs)`
`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.
`void`
RemoteExecutionControl.`stop()`
`void`
StreamingExecutionControl.`stop()`
`String`
DirectExecutionControl.`varValue(String className, String varName)`
`String`
RemoteExecutionControl.`varValue(String className, String varName)`
`String`
StreamingExecutionControl.`varValue(String classname, String varname)`
`protected VirtualMachine`
JdiDefaultExecutionControl.`vm()`
`protected abstract VirtualMachine`
JdiExecutionControl.`vm()`
Returns the JDI `VirtualMachine` instance.

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

Methods in jdk.jshell.spi that throw ExecutionControl.EngineTerminationException
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.`load(ExecutionControl.ClassBytecodes[] cbcs)`
Attempts to load new classes.
`void`
ExecutionControl.`redefine(ExecutionControl.ClassBytecodes[] cbcs)`
Attempts to redefine previously loaded classes.
`void`
ExecutionControl.`stop()`
Interrupts a running invoke.
`String`
ExecutionControl.`varValue(String className, String varName)`
Returns the value of a variable.