クラスの使用
jdk.jshell.spi.ExecutionControl.RunException
-
ExecutionControl.RunExceptionを使用するパッケージ パッケージ 説明 jdk.jshell.execution JShell実行エンジンを構築するための実装サポートを提供します。jdk.jshell.spi プラガブルなJShell実行エンジンのサービス・プロバイダ・インタフェースを定義します。 -
-
jdk.jshell.executionでのExecutionControl.RunExceptionの使用
ExecutionControl.RunExceptionをスローするjdk.jshell.executionのメソッド 修飾子と型 メソッド 説明 protected StringDirectExecutionControl. throwConvertedInvocationException(Throwable cause)ユーザー・コードの受信例外をExecutionControl.ExecutionControlExceptionのサブタイプのインスタンスに変換し、変換された例外をスローします。protected StringDirectExecutionControl. throwConvertedOtherException(Throwable ex)エージェント・コードの受信例外をExecutionControl.ExecutionControlExceptionのサブタイプのインスタンスに変換し、変換された例外をスローします。 -
jdk.jshell.spiでのExecutionControl.RunExceptionの使用
jdk.jshell.spi内のExecutionControl.RunExceptionのサブクラス 修飾子と型 クラス 説明 static classExecutionControl.ResolutionException未解決の参照を含むDeclarationSnippetが検出されたことを示す例外。static classExecutionControl.StoppedExceptionstatic classExecutionControl.UserException通常のユーザー例外が発生しました。ExecutionControl.RunExceptionをスローするjdk.jshell.spiのメソッド 修飾子と型 メソッド 説明 ObjectExecutionControl. extensionCommand(String command, Object arg)非標準コマンド(または新しいバージョンの標準コマンド)を実行します。StringExecutionControl. invoke(String className, String methodName)指定されたラッパー・クラスでメソッドを呼び出して、実行可能スニペットを呼び出します。StringExecutionControl. varValue(String className, String varName)変数の値を返します。
-