Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.7.0
-
Security Level: Public
-
None
-
Blake 34
-
1
Description
The argument to Database.inBatch is, currently, a Runnable. Runnables cannot throw. That means that client code has to wrap calls that do throw in clunky try-catch blocks that throw something unchecked.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Priority | Major [ 3 ] | Minor [ 4 ] |
Assignee | The Lite [ cbgto ] |
Story Points | 1 |
Component/s | API [ 15349 ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Summary | Arg to Database.inBatch should be able to throw | API: Arg to Database.inBatch should be able to throw |
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Rank | Ranked higher |
Sprint | Blake 34 [ 1319 ] |
Rank | Ranked lower |
Assignee | The Lite [ cbgto ] | Blake Meike [ blake.meike ] |
Rank | Ranked higher |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Component/s | Java-AppServer [ 15345 ] |
Fixed, per review by Pasin, in couchbase-lite-java-ee-root:50651ff829053dc4e059e