diff options
Diffstat (limited to 'TAO/utils/catior/catior.cpp')
-rw-r--r-- | TAO/utils/catior/catior.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/utils/catior/catior.cpp b/TAO/utils/catior/catior.cpp index da693a78d17..757d6743fd1 100644 --- a/TAO/utils/catior/catior.cpp +++ b/TAO/utils/catior/catior.cpp @@ -85,7 +85,7 @@ catiiop (char* string) if (cp == 0) { - ACE_THROW_RETURN (CORBA::DATA_CONVERSION (), 0); + throw CORBA::DATA_CONVERSION (); } CORBA::String_var hostname = CORBA::string_alloc (1 + cp - string); @@ -102,7 +102,7 @@ catiiop (char* string) if (cp == 0) { - ACE_THROW_RETURN (CORBA::DATA_CONVERSION (), 0); + throw CORBA::DATA_CONVERSION (); } port_number = (short) ACE_OS::atoi ((char *) string); @@ -354,7 +354,7 @@ catpoop (char* string) if (cp == 0) { - ACE_THROW_RETURN (CORBA::DATA_CONVERSION (), 0); + throw CORBA::DATA_CONVERSION (); } // Read the hostname. |