Uses of Class
jdk.jshell.spi.ExecutionControl.RunException
-
Packages that use ExecutionControl.RunException 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.RunException in jdk.jshell.execution
Methods in jdk.jshell.execution that throw ExecutionControl.RunException Modifier and Type Method Description protected StringDirectExecutionControl. throwConvertedInvocationException(Throwable cause)Converts incoming exceptions in user code into instances of subtypes ofExecutionControl.ExecutionControlExceptionand throws the converted exception.protected StringDirectExecutionControl. throwConvertedOtherException(Throwable ex)Converts incoming exceptions in agent code into instances of subtypes ofExecutionControl.ExecutionControlExceptionand throws the converted exception. -
Uses of ExecutionControl.RunException in jdk.jshell.spi
Subclasses of ExecutionControl.RunException in jdk.jshell.spi Modifier and Type Class Description static classExecutionControl.ResolutionExceptionAn exception indicating that aDeclarationSnippetwith unresolved references has been encountered.static classExecutionControl.StoppedExceptionAn 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 classExecutionControl.UserExceptionA 'normal' user exception occurred.Methods in jdk.jshell.spi that throw ExecutionControl.RunException Modifier and Type Method Description ObjectExecutionControl. extensionCommand(String command, Object arg)Run a non-standard command (or a standard command from a newer version).StringExecutionControl. invoke(String className, String methodName)Invokes an executable Snippet by calling a method on the specified wrapper class.StringExecutionControl. varValue(String className, String varName)Returns the value of a variable.
-