summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp
index 9889379c63d..a1928755bec 100644
--- a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp
+++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Remote/server_interceptor.cpp
@@ -154,6 +154,8 @@ Echo_Server_Request_Interceptor::send_exception (
ACE_THROW_SPEC ((CORBA::SystemException,
PortableInterceptor::ForwardRequest))
{
+ ++server_interceptor_check_;
+
CORBA::String_var op = ri->operation (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
@@ -168,15 +170,6 @@ Echo_Server_Request_Interceptor::send_exception (
ACE_CHECK;
CORBA::TypeCode_var type = any->type ();
- if (0 == type.in())
- {
- ACE_DEBUG ((LM_DEBUG,
- "No TypeCode information available; perhaps the user IDL\n"
- " has been compiled with TAO_IDL \"-St -Sa\" options?\n"));
- ACE_THROW (CORBA::NO_IMPLEMENT ());
- }
-
- ++server_interceptor_check_;
const char *exception_id = type->id (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;