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