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