ChangeApi.submittedTogether: Do not wrap RestApiException
The RestApiException thrown by SubmittedTogether.apply is more likely to be useful to the caller. Change-Id: Ia4597258b5f12d57094e0ecac4742b553ed7e092
This commit is contained in:
committed by
David Pursehouse
parent
fd6d983f84
commit
80c3153453
@@ -70,7 +70,7 @@ public class SubmittedTogether implements RestReadView<ChangeResource> {
|
||||
@Override
|
||||
public List<ChangeInfo> apply(ChangeResource resource)
|
||||
throws AuthException, BadRequestException,
|
||||
ResourceConflictException, Exception {
|
||||
ResourceConflictException, IOException, OrmException {
|
||||
try {
|
||||
Change c = resource.getChange();
|
||||
List<ChangeData> cds;
|
||||
|
||||
Reference in New Issue
Block a user