Hitachi

TPBroker Version 5 トランザクショナル分散オブジェクト基盤 TPBroker ユーザーズガイド


12.1.3 例外

TPBrokerは,自分自身で発生させたCORBA SystemException (org.omg.CORBA.SystemException),またはCORBA標準仕様のUser Exception(org.omg.CORBA.UserException)にエラーの説明を組み込みます。ORBおよびサーバ側で発生したCORBA SystemExceptionには詳細情報が提供されません。詳細情報を得るには,次の例のようにコーディングしてorg.omg.CORBA.SystemException.toString()を呼び出してください。

  try{
       current.begin();
  } catch(org.omg.CORBA.SystemException e) {
       System.out.println("Exception Catch:" + e);
  }

形式は,各CORBA SystemExceptionで定義されています。

- org.omg.CORBA.BAD_PARAM

不正なパラメタが指定されています。