diff options
Diffstat (limited to 'TAO/tao/CodecFactory/CDR_Encaps_Codec.h')
-rw-r--r-- | TAO/tao/CodecFactory/CDR_Encaps_Codec.h | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/TAO/tao/CodecFactory/CDR_Encaps_Codec.h b/TAO/tao/CodecFactory/CDR_Encaps_Codec.h index 5d051df1f75..d65cebb3340 100644 --- a/TAO/tao/CodecFactory/CDR_Encaps_Codec.h +++ b/TAO/tao/CodecFactory/CDR_Encaps_Codec.h @@ -58,33 +58,20 @@ public: /// Encode the given data, including the TypeCode, into an octet /// sequence. - virtual CORBA::OctetSeq * encode (const CORBA::Any & data - ) - ACE_THROW_SPEC ((CORBA::SystemException, - IOP::Codec::InvalidTypeForEncoding)); + virtual CORBA::OctetSeq * encode (const CORBA::Any & data); /// Extract the TypeCode and the value from the octet sequence and /// place them into an Any. - virtual CORBA::Any * decode (const CORBA::OctetSeq & data - ) - ACE_THROW_SPEC ((CORBA::SystemException, - IOP::Codec::FormatMismatch)); + virtual CORBA::Any * decode (const CORBA::OctetSeq & data); /// Encode the given data, excluding the TypeCode, into an octet /// sequence. - virtual CORBA::OctetSeq * encode_value (const CORBA::Any & data - ) - ACE_THROW_SPEC ((CORBA::SystemException, - IOP::Codec::InvalidTypeForEncoding)); + virtual CORBA::OctetSeq * encode_value (const CORBA::Any & data); /// Extract the value from the octet sequence, based on the given /// TypeCode, and place it into an Any. virtual CORBA::Any * decode_value (const CORBA::OctetSeq & data, - CORBA::TypeCode_ptr tc - ) - ACE_THROW_SPEC ((CORBA::SystemException, - IOP::Codec::FormatMismatch, - IOP::Codec::TypeMismatch)); + CORBA::TypeCode_ptr tc); protected: @@ -102,8 +89,7 @@ protected: * that isn't supported for the version of GIOP associated with this * Codec. */ - void check_type_for_encoding (const CORBA::Any & data - ); + void check_type_for_encoding (const CORBA::Any & data); private: |