summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Profile.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 18:37:07 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 18:37:07 +0000
commit5d48baca3dc57ec7bcd154cf0850362361799eaa (patch)
tree262b22a2f75388c2df25ab20bb0eaf94a81e3fb1 /TAO/tao/IIOP_Profile.cpp
parentfe003e9aeaec883d35706e604ac6733a6c4093d5 (diff)
downloadATCD-5d48baca3dc57ec7bcd154cf0850362361799eaa.tar.gz
Wed Jan 24 18:36:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/IIOP_Profile.cpp')
-rw-r--r--TAO/tao/IIOP_Profile.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/tao/IIOP_Profile.cpp b/TAO/tao/IIOP_Profile.cpp
index f022d30f3f8..b9b543dbcf9 100644
--- a/TAO/tao/IIOP_Profile.cpp
+++ b/TAO/tao/IIOP_Profile.cpp
@@ -138,11 +138,11 @@ TAO_IIOP_Profile::parse_string_i (const char *ior
if (okd == 0 || okd == ior)
{
// No object key delimiter or no hostname specified.
- throw ( ::CORBA::INV_OBJREF (
+ throw ::CORBA::INV_OBJREF (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
// Length of host string.
@@ -172,11 +172,11 @@ TAO_IIOP_Profile::parse_string_i (const char *ior
ACE_TEXT ("Invalid IPv6 decimal address specified.\n")));
}
- throw ( ::CORBA::INV_OBJREF (
+ throw ::CORBA::INV_OBJREF (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
else
{
@@ -200,11 +200,11 @@ TAO_IIOP_Profile::parse_string_i (const char *ior
ACE_TEXT ("Host address may be omited only when no port has been specified.\n")));
}
- throw ( ::CORBA::INV_OBJREF (
+ throw ::CORBA::INV_OBJREF (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
else if (cp_pos != 0)
{
@@ -229,11 +229,11 @@ TAO_IIOP_Profile::parse_string_i (const char *ior
ACE_INET_Addr ia;
if (ia.string_to_addr (tmp.in ()) == -1)
{
- throw ( ::CORBA::INV_OBJREF (
+ throw ::CORBA::INV_OBJREF (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
else
{
@@ -288,11 +288,11 @@ TAO_IIOP_Profile::parse_string_i (const char *ior
ACE_TEXT ("cannot determine hostname")));
// @@ What's the right exception to throw here?
- throw ( ::CORBA::INV_OBJREF (
+ throw ::CORBA::INV_OBJREF (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
else
this->endpoint_.host_ = CORBA::string_dup (tmp_host);