summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Bug_2088/Client_ORBInitializer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Bug_2088/Client_ORBInitializer.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/Bug_2088/Client_ORBInitializer.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/Bug_2088/Client_ORBInitializer.cpp b/TAO/tests/Portable_Interceptors/Bug_2088/Client_ORBInitializer.cpp
new file mode 100644
index 00000000000..ea422a7f284
--- /dev/null
+++ b/TAO/tests/Portable_Interceptors/Bug_2088/Client_ORBInitializer.cpp
@@ -0,0 +1,33 @@
+// -*- C++ -*-
+//
+// $Id$
+//
+
+#include "Client_ORBInitializer.h"
+
+ACE_RCSID (Bug_2088, Client_ORBInitializer, "$Id$")
+
+Client_ORBInitializer::Client_ORBInitializer (void) :
+ pre_init_called (false),
+ post_init_called (false)
+{
+}
+
+void
+Client_ORBInitializer::pre_init (
+ PortableInterceptor::ORBInitInfo_ptr)
+{
+ pre_init_called = true;
+
+ throw CORBA::NO_MEMORY ();
+}
+
+void
+Client_ORBInitializer::post_init (
+ PortableInterceptor::ORBInitInfo_ptr)
+{
+ post_init_called = true;
+
+ throw CORBA::NO_MEMORY ();
+}
+