Community
Participate
Working Groups
Until now commit() has thrown an unchecked exception in case of local or remote problems. But this sort of problems needs handling by the caller, e.g. a rollback() or repeated commit(). In the future it may make sense to add more specific exception subtypes or properties on the exception. But this API change is needed now because it will most probably break clients. That's intentional so that they are forced to think about their reaction! Sorry for the inconvenience!!
Created attachment 169984 [details] Patch For future reference
Committed to HEAD
Created attachment 169986 [details] Patch Addon1 This was missing
Eike, the deadline for API changes was M6, i.e., two months ago. This change has caused a compile error in at least one downstream component, which is not acceptable at this late stage in the release. :( Any changes to a Modeling project during the release candidate phase require reviews and approvals according to the rampdown policy at http://wiki.eclipse.org/Modeling_Project_Ramp_Down_Policy/Helios...
I'm sorry that this change/I caused problems ;-( I should have read all these documents more carefully. And I was not aware that there are CDO consumers in Helios. Who is it? As I mentioned before this change was necessary because the unchecked exception can occur at any time and there was no hint from CDO that this can happen. Of course I should have asked before I applied the change. I hope it could be fixed quickly!
(In reply to comment #5) > I'm sorry that this change/I caused problems ;-( That's why the development process and rampdown policy are in place - to prevent these kinds of problems. > I should have read all these documents more carefully. And I was not aware that > there are CDO consumers in Helios. Who is it? The one I was referring to was MoDisco - see bug 314718. > As I mentioned before this change was necessary because the unchecked exception > can occur at any time and there was no hint from CDO that this can happen. Of > course I should have asked before I applied the change. I hope it could be > fixed quickly! I'd beg to differ on whether the change was in fact necessary (especially considering that the importance of this bug is marked as _enhancement_ ). Highly desirable, no doubt, but not necessary.
Available in 3.0 GA: http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/