summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/Native_Exceptions/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tests/Native_Exceptions/test_i.cpp')
-rw-r--r--ACE/TAO/tests/Native_Exceptions/test_i.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Native_Exceptions/test_i.cpp b/ACE/TAO/tests/Native_Exceptions/test_i.cpp
new file mode 100644
index 00000000000..62e6003f6ea
--- /dev/null
+++ b/ACE/TAO/tests/Native_Exceptions/test_i.cpp
@@ -0,0 +1,27 @@
+// $Id$
+
+#include "test_i.h"
+
+#if !defined(__ACE_INLINE__)
+#include "test_i.inl"
+#endif /* __ACE_INLINE__ */
+
+ACE_RCSID(Native_Exceptions, test_i, "$Id$")
+
+CORBA::Long
+Simple_Server_i::test_method (CORBA::Long x)
+{
+ return x;
+}
+
+CORBA::Long
+Simple_Server_i::test_raise (CORBA::Long)
+{
+ throw Simple_Server::Failure ();
+}
+
+void
+Simple_Server_i::shutdown (void)
+{
+ this->orb_->shutdown ();
+}