diff options
Diffstat (limited to 'TAO/tao/SystemException.cpp')
-rw-r--r-- | TAO/tao/SystemException.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/TAO/tao/SystemException.cpp b/TAO/tao/SystemException.cpp index 9e03e639281..c2a8e88b54b 100644 --- a/TAO/tao/SystemException.cpp +++ b/TAO/tao/SystemException.cpp @@ -110,8 +110,7 @@ CORBA::SystemException::operator= (const CORBA::SystemException &src) } void -CORBA::SystemException::_tao_encode (TAO_OutputCDR &cdr - ) const +CORBA::SystemException::_tao_encode (TAO_OutputCDR &cdr) const { if (cdr.write_string (this->_rep_id ()) && cdr.write_ulong (this->minor ()) @@ -124,8 +123,7 @@ CORBA::SystemException::_tao_encode (TAO_OutputCDR &cdr } void -CORBA::SystemException::_tao_decode (TAO_InputCDR &cdr - ) +CORBA::SystemException::_tao_decode (TAO_InputCDR &cdr) { // The string is read by the caller, to determine the exact type of // the exception. We just decode the fields... @@ -210,8 +208,7 @@ CORBA::SystemException::_tao_duplicate (void) const } CORBA::ULong -CORBA::SystemException::_tao_minor_code (u_int location, - int errno_value) +CORBA::SystemException::_tao_minor_code (u_int location, int errno_value) { return TAO::VMCID @@ -950,7 +947,7 @@ TAO::create_system_exception (const char *id) void \ CORBA::name ::_raise (void) const \ { \ - TAO_RAISE (*this); \ + throw *this; \ } STANDARD_EXCEPTION_LIST |