Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit f3ca9db

Browse files
committed
Remove StatusException case from new catches.
1 parent 0571d46 commit f3ca9db

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/CbtTestProxy.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public void mutateRow(
301301
.build());
302302
responseObserver.onCompleted();
303303
return;
304-
} catch (StatusException | StatusRuntimeException e) {
304+
} catch (StatusRuntimeException e) {
305305
responseObserver.onNext(
306306
MutateRowResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
307307
responseObserver.onCompleted();
@@ -360,7 +360,7 @@ public void bulkMutateRows(
360360
.build());
361361
responseObserver.onCompleted();
362362
return;
363-
} catch (StatusException | StatusRuntimeException e) {
363+
} catch (StatusRuntimeException e) {
364364
responseObserver.onNext(
365365
MutateRowsResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
366366
responseObserver.onCompleted();
@@ -419,7 +419,7 @@ public void readRow(ReadRowRequest request, StreamObserver<RowResult> responseOb
419419
.build());
420420
responseObserver.onCompleted();
421421
return;
422-
} catch (StatusException | StatusRuntimeException e) {
422+
} catch (StatusRuntimeException e) {
423423
responseObserver.onNext(
424424
RowResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
425425
responseObserver.onCompleted();
@@ -470,7 +470,7 @@ public void readRows(ReadRowsRequest request, StreamObserver<RowsResult> respons
470470
.build());
471471
responseObserver.onCompleted();
472472
return;
473-
} catch (StatusException | StatusRuntimeException e) {
473+
} catch (StatusRuntimeException e) {
474474
responseObserver.onNext(
475475
RowsResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
476476
responseObserver.onCompleted();
@@ -594,7 +594,7 @@ public void sampleRowKeys(
594594
.build());
595595
responseObserver.onCompleted();
596596
return;
597-
} catch (StatusException | StatusRuntimeException e) {
597+
} catch (StatusRuntimeException e) {
598598
responseObserver.onNext(
599599
SampleRowKeysResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
600600
responseObserver.onCompleted();
@@ -640,7 +640,7 @@ public void checkAndMutateRow(
640640
.build());
641641
responseObserver.onCompleted();
642642
return;
643-
} catch (StatusException | StatusRuntimeException e) {
643+
} catch (StatusRuntimeException e) {
644644
responseObserver.onNext(
645645
CheckAndMutateRowResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
646646
responseObserver.onCompleted();
@@ -691,7 +691,7 @@ public void readModifyWriteRow(
691691
.build());
692692
responseObserver.onCompleted();
693693
return;
694-
} catch (StatusException | StatusRuntimeException e) {
694+
} catch (StatusRuntimeException e) {
695695
responseObserver.onNext(
696696
RowResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
697697
responseObserver.onCompleted();
@@ -754,7 +754,7 @@ public void executeQuery(
754754
.build());
755755
responseObserver.onCompleted();
756756
return;
757-
} catch (StatusException | StatusRuntimeException e) {
757+
} catch (StatusRuntimeException e) {
758758
responseObserver.onNext(
759759
ExecuteQueryResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
760760
responseObserver.onCompleted();

0 commit comments

Comments
 (0)