diff options
Diffstat (limited to 'TAO/tao/operation_details.h')
-rw-r--r-- | TAO/tao/operation_details.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/TAO/tao/operation_details.h b/TAO/tao/operation_details.h index 38cbc0314be..61ad4d406e4 100644 --- a/TAO/tao/operation_details.h +++ b/TAO/tao/operation_details.h @@ -14,17 +14,15 @@ #include /**/ "ace/pre.h" -#include "tao/SystemException.h" +#include "tao/Service_Context.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "tao/Service_Context.h" #include "tao/TimeBaseC.h" #include "tao/target_specification.h" - TAO_BEGIN_VERSIONED_NAMESPACE_DECL /// Forward declarations @@ -106,8 +104,7 @@ public: TAO_Service_Context &reply_service_context (void); const TAO_Service_Context &reply_service_context (void) const; - /// Reset the contents of the service context lists that we - /// hold. + /// Reset the contents of the service context lists that we hold. void reset_request_service_info (void); void reset_reply_service_info (void); @@ -132,8 +129,10 @@ public: * is not found in the list of exceptions specified by the operation * this call would raise an UNKNOWN exception. */ - CORBA::Exception *corba_exception (const char *ex) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Exception *corba_exception (const char *ex); + + /// Check whether exception @a ex is in the signature of this operation + bool has_exception (::CORBA::Exception& ex) const; /** * @name Helper methods used by the Invocation classes. @@ -222,7 +221,7 @@ private: #endif /*TAO_HAS_INTERCEPTORS == 1*/ /// The dii request flag. - CORBA::Boolean is_dii_request_; + CORBA::Boolean is_dii_request_; }; TAO_END_VERSIONED_NAMESPACE_DECL |