[hydra-commits] beagles: branch techdemo/kpfleming/slicing r574 - /techdemo/team/kpfleming/sl...
SVN commits to the Hydra project
hydra-commits at lists.digium.com
Mon Apr 12 11:29:14 CDT 2010
Author: beagles
Date: Mon Apr 12 11:29:13 2010
New Revision: 574
URL: https://origsvn.digium.com/svn-view/hydra?view=rev&rev=574
Log:
Fix slice on rethrow from within the Ice runtime.
Modified:
techdemo/team/kpfleming/slicing/exceptions/TestI.cpp
Modified: techdemo/team/kpfleming/slicing/exceptions/TestI.cpp
URL: https://origsvn.digium.com/svn-view/hydra/techdemo/team/kpfleming/slicing/exceptions/TestI.cpp?view=diff&rev=574&r1=573&r2=574
==============================================================================
--- techdemo/team/kpfleming/slicing/exceptions/TestI.cpp (original)
+++ techdemo/team/kpfleming/slicing/exceptions/TestI.cpp Mon Apr 12 11:29:13 2010
@@ -39,6 +39,17 @@
cout << "got skipped slices of length " << __skippedSlices.size() << endl;
T::__read(stream, rid);
}
+
+ ::Ice::Exception* ice_clone() const
+ {
+ return new Preserver(*this);
+ }
+
+ void ice_throw() const
+ {
+ throw *this;
+ }
+
virtual ~Preserver() throw() {}
};
};
More information about the asterisk-scf-commits
mailing list