3.7.1.4.4 例外

release()で例外が発生した場合は、TPフレームワークがその例外を捕捉します。各例外により、エラー・メッセージが次のようにユーザー・ログ(ULOG)ファイルに書き込まれます。

TobjS::ReleaseFailed
"TPFW_CAT:2: WARN: Exception in Server::release():
 IDL:beasys.com/TobjS/ReleaseFailed:1.0. Reason = reason"
reasonは、アプリケーション・コードで指定される文字列です。例:
Throw TobjS::ReleaseFailed("Couldn't unregister factory");
CORBA::Exception
"TPFW_CAT:2: WARN: Exception in Server::release(): exception . Reason = unknown"
exceptionは、発生したCORBA例外のインタフェースIDです。
Other Exceptions
"TPFW_CAT:2: WARN: Exception in Server::release(): unknown exception. 
Reason = unknown"

いずれの場合も、サーバーは終了します。