diff options
Diffstat (limited to 'TAO/tao/decode.cpp')
-rw-r--r-- | TAO/tao/decode.cpp | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/TAO/tao/decode.cpp b/TAO/tao/decode.cpp index 06793f40c6b..652ecc2c3e2 100644 --- a/TAO/tao/decode.cpp +++ b/TAO/tao/decode.cpp @@ -1,5 +1,6 @@ // $Id$ + // ============================================================================ // // = LIBRARY @@ -39,6 +40,7 @@ ACE_RCSID(tao, decode, "$Id$") + // The decoder is exactly the reverse of the encoder, except that: // // * Unmarshaling some data types involve allocating memory. Such @@ -116,7 +118,7 @@ TAO_Marshal_Primitive::decode (CORBA::TypeCode_ptr tc, { if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_Primitive::decode detected error\n")); + ASYS_TEXT ("TAO_Marshal_Primitive::decode detected error\n"))); ACE_THROW_RETURN (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_MAYBE), CORBA::TypeCode::TRAVERSE_STOP); } @@ -221,7 +223,7 @@ TAO_Marshal_Any::decode (CORBA::TypeCode_ptr, { if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_Any::decode detected error\n")); + ASYS_TEXT ("TAO_Marshal_Any::decode detected error\n"))); ACE_THROW_RETURN (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_MAYBE), retval); } @@ -499,8 +501,8 @@ TAO_Marshal_TypeCode::decode (CORBA::TypeCode_ptr, { if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_TypeCode:decode: " - "Bad kind_ value in CDR stream\n")); + ASYS_TEXT ("TAO_Marshal_TypeCode:decode: ") + ASYS_TEXT ("Bad kind_ value in CDR stream\n"))); ACE_THROW_RETURN ( CORBA::BAD_TYPECODE (), CORBA::TypeCode::TRAVERSE_STOP); } } @@ -509,7 +511,7 @@ TAO_Marshal_TypeCode::decode (CORBA::TypeCode_ptr, { if (TAO_debug_level) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_TypeCode::decode detected error\n")); + ASYS_TEXT ("TAO_Marshal_TypeCode::decode detected error\n"))); ACE_THROW_RETURN (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_MAYBE), CORBA::TypeCode::TRAVERSE_STOP); } @@ -693,7 +695,7 @@ TAO_Marshal_Struct::decode (CORBA::TypeCode_ptr tc, { if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_Struct::decode detected error\n")); + ASYS_TEXT ("TAO_Marshal_Struct::decode detected error\n"))); ACE_THROW_RETURN (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_MAYBE), CORBA::TypeCode::TRAVERSE_STOP); @@ -932,7 +934,7 @@ TAO_Marshal_String::decode (CORBA::TypeCode_ptr, { if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_String::decode detected error\n")); + ASYS_TEXT ("TAO_Marshal_String::decode detected error\n"))); ACE_THROW_RETURN (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_MAYBE), CORBA::TypeCode::TRAVERSE_STOP); } @@ -1299,7 +1301,7 @@ TAO_Marshal_Array::decode (CORBA::TypeCode_ptr tc, // error exit if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_Sequence::decode detected error\n")); + ASYS_TEXT ("TAO_Marshal_Sequence::decode detected error\n"))); ACE_THROW_RETURN (CORBA::MARSHAL (), CORBA::TypeCode::TRAVERSE_STOP); } @@ -1396,7 +1398,7 @@ TAO_Marshal_Alias::decode (CORBA::TypeCode_ptr tc, { if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_Except::decode detected error\n")); + ASYS_TEXT ("TAO_Marshal_Except::decode detected error\n"))); ACE_THROW_RETURN (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_MAYBE), CORBA::TypeCode::TRAVERSE_STOP); } @@ -1519,7 +1521,7 @@ TAO_Marshal_Except::decode (CORBA::TypeCode_ptr tc, { if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_Except::decode detected error\n")); + ASYS_TEXT ("TAO_Marshal_Except::decode detected error\n"))); ACE_THROW_RETURN (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_MAYBE), CORBA::TypeCode::TRAVERSE_STOP); } @@ -1565,7 +1567,7 @@ TAO_Marshal_WString::decode (CORBA::TypeCode_ptr, { if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO_Marshal_WString::decode detected error\n")); + ASYS_TEXT ("TAO_Marshal_WString::decode detected error\n"))); ACE_THROW_RETURN (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_MAYBE), CORBA::TypeCode::TRAVERSE_STOP); } |