diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
commit | 40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch) | |
tree | 37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /TAO/tao/CodecFactory.cpp | |
parent | c254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff) | |
download | ATCD-40fdc8a404e75ab03b68cc62e9987cf208fd8c30.tar.gz |
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'TAO/tao/CodecFactory.cpp')
-rw-r--r-- | TAO/tao/CodecFactory.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/CodecFactory.cpp b/TAO/tao/CodecFactory.cpp index ff1ba26d9f8..f919cb0454d 100644 --- a/TAO/tao/CodecFactory.cpp +++ b/TAO/tao/CodecFactory.cpp @@ -4,7 +4,6 @@ #include "CodecFactory.h" #include "CDR_Encaps_Codec.h" -#include "SystemException.h" #include "ORB_Constants.h" ACE_RCSID (TAO_CodecFactory, @@ -43,7 +42,7 @@ TAO_CodecFactory::create_codec (const IOP::Encoding & enc // There is no such thing as a "0.x" CDR encapsulation. ACE_THROW_RETURN (CORBA::BAD_PARAM ( CORBA::SystemException::_tao_minor_code ( - 0, + TAO_DEFAULT_MINOR_CODE, EINVAL), CORBA::COMPLETED_NO), IOP::Codec::_nil ()); @@ -55,7 +54,7 @@ TAO_CodecFactory::create_codec (const IOP::Encoding & enc this->orb_core_), CORBA::NO_MEMORY ( CORBA::SystemException::_tao_minor_code ( - 0, + TAO_DEFAULT_MINOR_CODE, ENOMEM), CORBA::COMPLETED_MAYBE)); ACE_CHECK_RETURN (IOP::Codec::_nil ()); |