[JCBC-210] Throw CancellationException instead of RuntimeException on op cancel Created: 14/Jan/13  Updated: 21/Feb/13  Resolved: 21/Feb/13

Status: Resolved
Project: Couchbase Java Client
Component/s: Core
Affects Version/s: 1.1.0
Fix Version/s: 1.1.3
Security Level: Public

Type: Improvement Priority: Major
Reporter: Michael Nitschinger Assignee: Michael Nitschinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
This is only a semantical change because CancellationExceptions are children of RuntimeExceptions, but it should give us better debugabillity in production deployments and those Exceptions can be better caught.

 Comments   
Comment by Michael Nitschinger [ 15/Jan/13 ]
Also, document these in the manual and in the docblocks where it makes sense.
Comment by Michael Nitschinger [ 21/Feb/13 ]
Pushed to master, will be available in 1.1.3
Generated at Sat Apr 19 01:13:08 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.