summaryrefslogtreecommitdiff
path: root/TAO/tao/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/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/Profile.cpp')
-rw-r--r--TAO/tao/Profile.cpp23
1 files changed, 11 insertions, 12 deletions
diff --git a/TAO/tao/Profile.cpp b/TAO/tao/Profile.cpp
index 09d619e0a0e..b9dcea41191 100644
--- a/TAO/tao/Profile.cpp
+++ b/TAO/tao/Profile.cpp
@@ -557,11 +557,11 @@ TAO_Profile::verify_orb_configuration (void)
// possible to add components to the profile.
// @todo: We need the proper minor code as soon as the spec is
// updated.
- throw ( ::CORBA::BAD_PARAM (
+ throw ::CORBA::BAD_PARAM (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
}
@@ -588,11 +588,11 @@ TAO_Profile::verify_profile_version (void)
// possible to add components to the profile.
// @todo: We need the proper minor code as soon as the spec is
// updated.
- throw ( ::CORBA::BAD_PARAM (
+ throw ::CORBA::BAD_PARAM (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
}
@@ -623,11 +623,11 @@ TAO_Profile::addressing_mode (CORBA::Short addr
break;
default:
- throw ( ::CORBA::BAD_PARAM (
+ throw ::CORBA::BAD_PARAM (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
}
@@ -637,11 +637,11 @@ TAO_Profile::parse_string (const char *ior
{
if (!ior || !*ior)
{
- throw ( ::CORBA::INV_OBJREF (
+ throw ::CORBA::INV_OBJREF (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
// Remove the "N.n@" version prefix, if it exists, and verify the
@@ -669,15 +669,14 @@ TAO_Profile::parse_string (const char *ior
if (this->version_.major != TAO_DEF_GIOP_MAJOR ||
this->version_.minor > TAO_DEF_GIOP_MINOR)
{
- throw ( ::CORBA::INV_OBJREF (
+ throw ::CORBA::INV_OBJREF (
CORBA::SystemException::_tao_minor_code (
0,
EINVAL),
- CORBA::COMPLETED_NO));
+ CORBA::COMPLETED_NO);
}
- this->parse_string_i (ior
- );
+ this->parse_string_i (ior);
}
CORBA::Boolean