クラスjdk.jshell.spi.ExecutionControl.InternalExceptionの
使用
ExecutionControl.InternalExceptionを使用するパッケージ
パッケージ
説明
JShell実行エンジンを構築するための実装サポートを提供します。
プラガブルなJShell実行エンジンのサービス・プロバイダ・インタフェースを定義します。
-
jdk.jshell.executionでのExecutionControl.InternalExceptionの使用
修飾子と型メソッド説明voidDirectExecutionControl.addToClasspath(String cp) voidLoaderDelegate.addToClasspath(String path) 実行クラス・パスにパスを追加します。voidStreamingExecutionControl.addToClasspath(String path) protected voidDirectExecutionControl.clientCodeEnter()ユーザー・コードにエントリをマークします。protected voidDirectExecutionControl.clientCodeLeave()ユーザー・コードからの出発をマークします。DirectExecutionControl.extensionCommand(String command, Object arg) StreamingExecutionControl.extensionCommand(String command, Object arg) voidDirectExecutionControl.stop()実行中の呼出しを中断します。voidJdiDefaultExecutionControl.stop()リモート変数を操作し、JDI経由で停止を送信することで、実行中のリモート呼出しを中断します。voidRemoteExecutionControl.stop()voidStreamingExecutionControl.stop()protected StringDirectExecutionControl.throwConvertedInvocationException(Throwable cause) ユーザー・コードの受信例外をExecutionControl.ExecutionControlExceptionのサブタイプのインスタンスに変換し、変換された例外をスローします。protected StringDirectExecutionControl.throwConvertedOtherException(Throwable ex) エージェント・コード内の受信例外をExecutionControl.ExecutionControlExceptionのサブタイプのインスタンスに変換し、変換された例外をスローします。 -
jdk.jshell.spiでのExecutionControl.InternalExceptionの使用
修飾子と型メソッド説明voidExecutionControl.addToClasspath(String path) 実行クラス・パスにパスを追加します。ExecutionControl.extensionCommand(String command, Object arg) 非標準コマンド(新しいバージョンの標準コマンド)を実行します。指定されたラッパー・クラスのメソッドをコールして、実行可能スニペットを起動します。voidExecutionControl.stop()実行中の呼出しを中断します。変数の値を返します。