Uses of Class
jdk.jshell.spi.ExecutionControl.RunException
-
Packages that use ExecutionControl.RunException 软件包 描述 jdk.jshell.execution 为构建JShell执行引擎提供实现支持。jdk.jshell.spi 为可插入的JShell执行引擎定义服务提供者接口。 -
-
Uses of ExecutionControl.RunException in jdk.jshell.execution
Methods in jdk.jshell.execution that throw ExecutionControl.RunException 变量和类型 方法 描述 protected StringDirectExecutionControl. throwConvertedInvocationException(Throwable cause)将用户代码中的传入异常转换为子类型ExecutionControl.ExecutionControlException的实例,并抛出转换后的异常。protected StringDirectExecutionControl. throwConvertedOtherException(Throwable ex)将代理程序代码中的传入异常转换为子类型ExecutionControl.ExecutionControlException的实例,并抛出转换后的异常。 -
Uses of ExecutionControl.RunException in jdk.jshell.spi
Subclasses of ExecutionControl.RunException in jdk.jshell.spi 变量和类型 类 描述 static classExecutionControl.ResolutionException表示遇到未解析引用的DeclarationSnippet的异常。static classExecutionControl.StoppedExceptionstatic classExecutionControl.UserException发生“正常”用户异常。Methods in jdk.jshell.spi that throw ExecutionControl.RunException 变量和类型 方法 描述 ObjectExecutionControl. extensionCommand(String command, Object arg)运行非标准命令(或较新版本的标准命令)。StringExecutionControl. invoke(String className, String methodName)通过调用指定的包装类上的方法来调用可执行的Snippet。StringExecutionControl. varValue(String className, String varName)返回变量的值。
-