クラス 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のメソッド 修飾子と型 メソッド 説明 Object
DirectExecutionControl. extensionCommand(String command, Object arg)
Object
StreamingExecutionControl. extensionCommand(String command, Object arg)
String
DirectExecutionControl. invoke(String className, String methodName)
String
JdiDefaultExecutionControl. invoke(String classname, String methodname)
String
StreamingExecutionControl. invoke(String classname, String methodname)
protected String
DirectExecutionControl. throwConvertedInvocationException(Throwable cause)
ユーザー・コードの受信例外をExecutionControl.ExecutionControlException
のサブ型のインスタンスに変換し、変換された例外をスローします。protected String
RemoteExecutionControl. throwConvertedInvocationException(Throwable cause)
protected String
DirectExecutionControl. throwConvertedOtherException(Throwable ex)
エージェント・コード内の受信例外をExecutionControl.ExecutionControlException
のサブ型のインスタンスに変換し、変換された例外をスローします。protected String
RemoteExecutionControl. throwConvertedOtherException(Throwable ex)
String
DirectExecutionControl. varValue(String className, String varName)
String
RemoteExecutionControl. varValue(String className, String varName)
String
StreamingExecutionControl. varValue(String classname, String varname)
-
jdk.jshell.spiでのExecutionControl.RunExceptionの使用
jdk.jshell.spiのExecutionControl.RunExceptionのサブクラス 修飾子と型 クラス 説明 static class
ExecutionControl.ResolutionException
未解決の参照を含むDeclarationSnippet
が検出されたことを示す例外です。static class
ExecutionControl.StoppedException
static class
ExecutionControl.UserException
'normal'ユーザー例外が発生しました。ExecutionControl.RunExceptionをスローするjdk.jshell.spiのメソッド 修飾子と型 メソッド 説明 Object
ExecutionControl. extensionCommand(String command, Object arg)
非標準コマンド(新しいバージョンの標準コマンド)を実行します。String
ExecutionControl. invoke(String className, String methodName)
指定されたラッパー・クラスのメソッドを呼び出すことにより、実行可能スニペットを呼び出します。String
ExecutionControl. varValue(String className, String varName)
変数の値を返します。
-