名前
org.omg.CosTransactions.Current.resume
形式
public interface Current extends org.omg.CORBA.Object {
public void resume(org.omg.CosTransactions.Cntrol control)
throws org.omg.CORBA.Exception;
}
機能説明
トランザクションをカレントスレッドと関連つけます。
パラメタ
関連付けるControlオブジェクトを指定します。Controlオブジェクトのオブジェクトリファレンスは、org.omg.CosTransactions.Current.get_controlメソッドで取得します。または、suspend機能で返却されたControlオブジェクトを使用します。
nullオブジェクトを指定した場合、トランザクションとカレントスレッドとの関係を切り離します。
復帰値
処理が異常終了した場合は、org.omg.CORBA.Exception例外が発生します。
UserException例外の場合は以下の例外が発生します。
Controlオブジェクト以外のオブジェクトが指定されました。
SystemExceptionの場合は以下の例外が発生します。
CORBAサービスで異常が発生しました。