[asterisk-scf-commits] asterisk-scf/integration/ice-util-cpp.git branch "retry_deux" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Feb 29 14:03:14 CST 2012


branch "retry_deux" has been updated
       via  7be8e3ee16b1f3bad551fb52ba69aea51044bc57 (commit)
      from  22fa0af4711d80cd08fb5d172bc3fc3badef2a3d (commit)

Summary of changes:
 .../Discovery/LocatorRegistrationWrapper.h         |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)


- Log -----------------------------------------------------------------
commit 7be8e3ee16b1f3bad551fb52ba69aea51044bc57
Author: Brent Eagles <beagles at digium.com>
Date:   Wed Feb 29 16:31:57 2012 -0330

    Remove catch clauses for removed exception type.

diff --git a/include/AsteriskSCF/Discovery/LocatorRegistrationWrapper.h b/include/AsteriskSCF/Discovery/LocatorRegistrationWrapper.h
index 8dd0ba6..56eb5df 100644
--- a/include/AsteriskSCF/Discovery/LocatorRegistrationWrapper.h
+++ b/include/AsteriskSCF/Discovery/LocatorRegistrationWrapper.h
@@ -182,14 +182,6 @@ private:
             {
                 // For this exception, we'll just loop and rety as long as policy allows. 
             }
-            catch(AsteriskSCF::System::V1::OperationCallCancelledException& cancelled)
-            {
-                if (cancelled.reason == AsteriskSCF::System::V1::Duplicate)
-                {
-                    return true;
-                }
-                return false;
-            }
         }
         return false;
     }
@@ -220,14 +212,6 @@ private:
             {
                 // For this exception, we'll just loop and rety as long as policy allows. 
             }
-            catch(AsteriskSCF::System::V1::OperationCallCancelledException& cancelled)
-            {
-                if (cancelled.reason == AsteriskSCF::System::V1::Duplicate)
-                {
-                    return true;
-                }
-                return false;
-            }
         }
         return false;
     }

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list