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:
Jonathan Nieder
2016-06-16 17:45:10 -07:00
committed by David Pursehouse
parent fd6d983f84
commit 80c3153453
3 changed files with 6 additions and 13 deletions

View File

@@ -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;