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