Uses of Class
jdk.jshell.spi.ExecutionControl.RunException
Package
Description
Provides implementation support for building JShell execution engines.
Defines the Service Provider Interface for pluggable JShell execution engines.
-
Uses of ExecutionControl.RunException in jdk.jshell.execution
Modifier and TypeMethodDescriptionDirectExecutionControl.extensionCommand
(String command, Object arg) StreamingExecutionControl.extensionCommand
(String command, Object arg) protected String
DirectExecutionControl.throwConvertedInvocationException
(Throwable cause) Converts incoming exceptions in user code into instances of subtypes ofExecutionControl.ExecutionControlException
and throws the converted exception.protected String
DirectExecutionControl.throwConvertedOtherException
(Throwable ex) Converts incoming exceptions in agent code into instances of subtypes ofExecutionControl.ExecutionControlException
and throws the converted exception. -
Uses of ExecutionControl.RunException in jdk.jshell.spi
Modifier and TypeClassDescriptionstatic class
An exception indicating that aDeclarationSnippet
with unresolved references has been encountered.static class
An exception indicating that anExecutionControl.invoke(java.lang.String, java.lang.String)
(or theoretically aExecutionControl.varValue(java.lang.String, java.lang.String)
) has been interrupted by aExecutionControl.stop()
.static class
A 'normal' user exception occurred.Modifier and TypeMethodDescriptionExecutionControl.extensionCommand
(String command, Object arg) Run a non-standard command (or a standard command from a newer version).Invokes an executable Snippet by calling a method on the specified wrapper class.Returns the value of a variable.