summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-02-05 20:23:47 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-02-05 20:23:47 +0000
commitd7853d8bc5e61edb446785cc2d71c24f7b239856 (patch)
tree9a6193c3712fecb112533c1834e12ef5870aa822 /TAO/tao/ORB.cpp
parentf8fc9cef7fb4044f499710f0e5b3808e532c4c8a (diff)
downloadATCD-d7853d8bc5e61edb446785cc2d71c24f7b239856.tar.gz
Mon Feb 5 20:16:14 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/ORB.cpp')
-rw-r--r--TAO/tao/ORB.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp
index f4ee6bf3376..4aa035cd925 100644
--- a/TAO/tao/ORB.cpp
+++ b/TAO/tao/ORB.cpp
@@ -46,10 +46,6 @@ ACE_RCSID (tao,
#include "ace/OS_NS_string.h"
#include "ace/os_include/os_ctype.h"
-void TAO_unexpected_exception_handler (void)
-{
- throw ::CORBA::UNKNOWN ();
-}
static const char ior_prefix[] = "IOR:";
@@ -1121,20 +1117,6 @@ TAO::ORB::init_orb_globals (void)
{
++orb_init_count;
}
-
- // This must be done after the system TypeCodes and Exceptions have
- // been initialized. An unexpected exception will cause TAO's
- // unexpected exception handler to be called. That handler
- // transforms all unexpected exceptions to CORBA::UNKNOWN, which of
- // course requires the TypeCode constants and system exceptions to
- // have been initialized.
- /**
- * @note The new TypeCode implementation obviates the above
- * comment. Standard CORBA exception TypeCodes are now
- * available before CORBA::ORB_init() is ever called.
- */
- TAO_Singleton_Manager::instance ()->_set_unexpected (
- ::TAO_unexpected_exception_handler);
}
CORBA::ORB_ptr