summaryrefslogtreecommitdiff
path: root/CIAO/connectors
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/connectors')
-rw-r--r--CIAO/connectors/dds4ccm/impl/ConditionManager.cpp6
-rw-r--r--CIAO/connectors/dds4ccm/impl/Getter_T.cpp10
2 files changed, 8 insertions, 8 deletions
diff --git a/CIAO/connectors/dds4ccm/impl/ConditionManager.cpp b/CIAO/connectors/dds4ccm/impl/ConditionManager.cpp
index 55798364664..fcededd62ae 100644
--- a/CIAO/connectors/dds4ccm/impl/ConditionManager.cpp
+++ b/CIAO/connectors/dds4ccm/impl/ConditionManager.cpp
@@ -101,7 +101,7 @@ namespace CIAO
DDS4CCM_ERROR (DDS4CCM_LOG_LEVEL_ERROR, (LM_ERROR, DDS4CCM_INFO
ACE_TEXT ("ConditionManager::init_readcondition - ")
ACE_TEXT ("Error creating read condition.\n")));
- return;
+ throw ::CCM_DDS::InternalError (retcode, 0);
}
}
@@ -114,7 +114,7 @@ namespace CIAO
ACE_TEXT ("ConditionManager::init_readcondition - ")
ACE_TEXT ("Unable to attach read condition to waitset. Error <%C>\n"),
translate_retcode (retcode)));
- throw ::CCM_DDS::InternalError (retcode, 1);
+ throw ::CCM_DDS::InternalError (retcode, 0);
}
DDS4CCM_DEBUG (DDS4CCM_LOG_LEVEL_ACTION, (LM_DEBUG, DDS4CCM_INFO
ACE_TEXT ("ConditionManager::init_readcondition - ")
@@ -225,7 +225,7 @@ namespace CIAO
this->qc_getter_.in (),
this->qc_listener_.in ()));
- throw ::CCM_DDS::InternalError (::DDS::RETCODE_ERROR, 1);
+ throw ::CCM_DDS::InternalError (::DDS::RETCODE_ERROR, 0);
}
else
{
diff --git a/CIAO/connectors/dds4ccm/impl/Getter_T.cpp b/CIAO/connectors/dds4ccm/impl/Getter_T.cpp
index 5b19114abc0..d060d5d9bea 100644
--- a/CIAO/connectors/dds4ccm/impl/Getter_T.cpp
+++ b/CIAO/connectors/dds4ccm/impl/Getter_T.cpp
@@ -194,7 +194,7 @@ namespace CIAO
"Error returning loan to DDS - <%C>\n",
translate_retcode (retval)));
}
- throw ::CCM_DDS::InternalError (retcode, 1);
+ throw ::CCM_DDS::InternalError (retcode, 0);
}
::DDS::ReturnCode_t const retval =
@@ -206,7 +206,7 @@ namespace CIAO
"Error returning loan to DDS - <%C>\n",
translate_retcode (retval)));
- throw ::CCM_DDS::InternalError (retcode, 1);
+ throw ::CCM_DDS::InternalError (retcode, 0);
}
return true;
@@ -321,7 +321,7 @@ namespace CIAO
translate_retcode (retval)));
}
- throw ::CCM_DDS::InternalError (retcode, 1);
+ throw ::CCM_DDS::InternalError (retcode, 0);
}
else if (data.length () == 1 && sample_info[0].valid_data)
{
@@ -352,7 +352,7 @@ namespace CIAO
"Error returning loan to DDS - <%C>\n",
translate_retcode (retval)));
- throw ::CCM_DDS::InternalError (retcode, 1);
+ throw ::CCM_DDS::InternalError (retcode, 0);
}
}
@@ -414,7 +414,7 @@ namespace CIAO
"Error returning loan to DDS - <%C>\n",
translate_retcode (retval)));
}
- throw ::CCM_DDS::InternalError (retcode, 1);
+ throw ::CCM_DDS::InternalError (retcode, 0);
}
else if (data.length () == 1 && sample_info[0].valid_data)
{