3.7.1.3.4 Exceptions

If an exception is raised in Server::initialize(), the TP Framework catches the exception. The TP Framework behavior is the same as if initialize() returned FALSE (that is, an exception is considered to be a failure). In addition, an error message is written to the user log (ULOG) file, as follows, for each exception type:

TobjS::InitializeFailed
"TPFW_CAT:1: ERROR: Exception in Server::initialize():IDL:beasys.com/TobjS/InitializeFailed:1.0. Reason = reason "
Where reason is a string supplied by application code. For example: Throw TobjS::InitializeFailed("Couldn't register factory");
CORBA::Exception
"TPFW_CAT:1: ERROR: Exception in Server::initialize(): exception . Reason = unknown"
Where exception is the interface ID of the CORBA exception that was raised.
Other Exceptions
TPFW_CAT:1: ERROR: Exception in Server::initialize(): unknown exception. Reason = unknown"