Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317006

Summary: Use CommitException instead of TransactionException
Product: [Modeling] EMF Reporter: Caspar D. <caspar_d>
Component: cdo.coreAssignee: Project Inbox <emf.cdo-inbox>
Status: NEW --- QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3 CC: stepper
Version: 4.13   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Caspar D. CLA 2010-06-16 03:16:18 EDT
In 3.0 the CommitException was introduced. It serves roughly
the same purpose (as far as my understanding goes) as
TransactionException, the only difference being that the new
type is a checked exception while the old is unchecked.

But we haven't properly eliminated the
TransactionExceptions. They still get thrown from many
places, and then get wrapped in a CommitException. But
TransactionException itself is also a wrapper, so that now
the real "cause" exception is typically at least 2 layers
deep. We should eliminate this unnecessary wrapping.

(Another odd thing is that CommitExceptions themselves
get wrapped in TransactionExceptions first if new code
throws one from somewhere within the commit logic. And that
TxException then gets wrapped into another "outer"
CommitException again.)
Comment 1 Eike Stepper CLA 2010-06-29 04:50:24 EDT
Rebasing all outstanding enhancements requests to version 4.0
Comment 2 Eike Stepper CLA 2011-06-23 03:57:36 EDT
Moving all open enhancement requests to 4.1
Comment 3 Eike Stepper CLA 2012-08-14 22:55:54 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 4 Eike Stepper CLA 2013-06-27 04:06:25 EDT
Moving all outstanding enhancements to 4.3
Comment 5 Eike Stepper CLA 2014-08-19 09:23:50 EDT
Moving all open enhancement requests to 4.4
Comment 6 Eike Stepper CLA 2014-08-19 09:35:19 EDT
Moving all open enhancement requests to 4.4
Comment 7 Eike Stepper CLA 2015-07-14 02:18:39 EDT
Moving all open bugzillas to 4.5.
Comment 8 Eike Stepper CLA 2016-07-31 01:01:31 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 9 Eike Stepper CLA 2017-12-28 01:17:38 EST
Moving all open bugs to 4.7
Comment 10 Eike Stepper CLA 2019-11-08 02:09:48 EST
Moving all unresolved issues to version 4.8-
Comment 11 Eike Stepper CLA 2019-12-13 12:49:02 EST
Moving all unresolved issues to version 4.9
Comment 12 Eike Stepper CLA 2020-12-11 10:41:40 EST
Moving to 4.13.