@@ -270,7 +270,7 @@ public com.google.api.services.bigquery.model.Dataset call() {
270
270
}
271
271
},
272
272
getOptions ().getRetrySettings (),
273
- EXCEPTION_HANDLER ,
273
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
274
274
getOptions ().getClock ()));
275
275
} catch (RetryHelper .RetryHelperException e ) {
276
276
throw BigQueryException .translateAndThrow (e );
@@ -298,7 +298,7 @@ public com.google.api.services.bigquery.model.Table call() {
298
298
}
299
299
},
300
300
getOptions ().getRetrySettings (),
301
- EXCEPTION_HANDLER ,
301
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
302
302
getOptions ().getClock ()));
303
303
} catch (RetryHelper .RetryHelperException e ) {
304
304
throw BigQueryException .translateAndThrow (e );
@@ -326,7 +326,7 @@ public com.google.api.services.bigquery.model.Routine call() {
326
326
}
327
327
},
328
328
getOptions ().getRetrySettings (),
329
- EXCEPTION_HANDLER ,
329
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
330
330
getOptions ().getClock ()));
331
331
} catch (RetryHelper .RetryHelperException e ) {
332
332
throw BigQueryException .translateAndThrow (e );
@@ -375,7 +375,7 @@ public com.google.api.services.bigquery.model.Job call() {
375
375
}
376
376
},
377
377
getOptions ().getRetrySettings (),
378
- EXCEPTION_HANDLER ,
378
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
379
379
getOptions ().getClock ()));
380
380
} catch (RetryHelper .RetryHelperException e ) {
381
381
throw BigQueryException .translateAndThrow (e );
@@ -426,7 +426,7 @@ public com.google.api.services.bigquery.model.Dataset call() {
426
426
}
427
427
},
428
428
getOptions ().getRetrySettings (),
429
- EXCEPTION_HANDLER ,
429
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
430
430
getOptions ().getClock ());
431
431
if (getOptions ().getThrowNotFound () && answer == null ) {
432
432
throw new BigQueryException (HTTP_NOT_FOUND , "Dataset not found" );
@@ -501,7 +501,7 @@ public Boolean call() {
501
501
}
502
502
},
503
503
getOptions ().getRetrySettings (),
504
- EXCEPTION_HANDLER ,
504
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
505
505
getOptions ().getClock ());
506
506
} catch (RetryHelper .RetryHelperException e ) {
507
507
throw BigQueryException .translateAndThrow (e );
@@ -532,7 +532,7 @@ public Boolean call() {
532
532
}
533
533
},
534
534
getOptions ().getRetrySettings (),
535
- EXCEPTION_HANDLER ,
535
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
536
536
getOptions ().getClock ());
537
537
} catch (RetryHelper .RetryHelperException e ) {
538
538
throw BigQueryException .translateAndThrow (e );
@@ -558,7 +558,7 @@ public Boolean call() {
558
558
}
559
559
},
560
560
getOptions ().getRetrySettings (),
561
- EXCEPTION_HANDLER ,
561
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
562
562
getOptions ().getClock ());
563
563
} catch (RetryHelper .RetryHelperException e ) {
564
564
throw BigQueryException .translateAndThrow (e );
@@ -584,7 +584,7 @@ public Boolean call() {
584
584
}
585
585
},
586
586
getOptions ().getRetrySettings (),
587
- EXCEPTION_HANDLER ,
587
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
588
588
getOptions ().getClock ());
589
589
} catch (RetryHelper .RetryHelperException e ) {
590
590
throw BigQueryException .translateAndThrow (e );
@@ -608,7 +608,7 @@ public Boolean call() {
608
608
}
609
609
},
610
610
getOptions ().getRetrySettings (),
611
- EXCEPTION_HANDLER ,
611
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
612
612
getOptions ().getClock ());
613
613
} catch (RetryHelper .RetryHelperException e ) {
614
614
throw BigQueryException .translateAndThrow (e );
@@ -631,7 +631,7 @@ public com.google.api.services.bigquery.model.Dataset call() {
631
631
}
632
632
},
633
633
getOptions ().getRetrySettings (),
634
- EXCEPTION_HANDLER ,
634
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
635
635
getOptions ().getClock ()));
636
636
} catch (RetryHelper .RetryHelperException e ) {
637
637
throw BigQueryException .translateAndThrow (e );
@@ -659,7 +659,7 @@ public com.google.api.services.bigquery.model.Table call() {
659
659
}
660
660
},
661
661
getOptions ().getRetrySettings (),
662
- EXCEPTION_HANDLER ,
662
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
663
663
getOptions ().getClock ()));
664
664
} catch (RetryHelper .RetryHelperException e ) {
665
665
throw BigQueryException .translateAndThrow (e );
@@ -687,7 +687,7 @@ public com.google.api.services.bigquery.model.Model call() {
687
687
}
688
688
},
689
689
getOptions ().getRetrySettings (),
690
- EXCEPTION_HANDLER ,
690
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
691
691
getOptions ().getClock ()));
692
692
} catch (RetryHelper .RetryHelperException e ) {
693
693
throw BigQueryException .translateAndThrow (e );
@@ -715,7 +715,7 @@ public com.google.api.services.bigquery.model.Routine call() {
715
715
}
716
716
},
717
717
getOptions ().getRetrySettings (),
718
- EXCEPTION_HANDLER ,
718
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
719
719
getOptions ().getClock ()));
720
720
} catch (RetryHelper .RetryHelperException e ) {
721
721
throw BigQueryException .translateAndThrow (e );
@@ -751,7 +751,7 @@ public com.google.api.services.bigquery.model.Table call() {
751
751
}
752
752
},
753
753
getOptions ().getRetrySettings (),
754
- EXCEPTION_HANDLER ,
754
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
755
755
getOptions ().getClock ());
756
756
if (getOptions ().getThrowNotFound () && answer == null ) {
757
757
throw new BigQueryException (HTTP_NOT_FOUND , "Table not found" );
@@ -789,7 +789,7 @@ public com.google.api.services.bigquery.model.Model call() {
789
789
}
790
790
},
791
791
getOptions ().getRetrySettings (),
792
- EXCEPTION_HANDLER ,
792
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
793
793
getOptions ().getClock ());
794
794
if (getOptions ().getThrowNotFound () && answer == null ) {
795
795
throw new BigQueryException (HTTP_NOT_FOUND , "Model not found" );
@@ -827,7 +827,7 @@ public com.google.api.services.bigquery.model.Routine call() {
827
827
}
828
828
},
829
829
getOptions ().getRetrySettings (),
830
- EXCEPTION_HANDLER ,
830
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
831
831
getOptions ().getClock ());
832
832
if (getOptions ().getThrowNotFound () && answer == null ) {
833
833
throw new BigQueryException (HTTP_NOT_FOUND , "Routine not found" );
@@ -916,7 +916,7 @@ private static Page<Table> listTables(
916
916
}
917
917
},
918
918
serviceOptions .getRetrySettings (),
919
- EXCEPTION_HANDLER ,
919
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
920
920
serviceOptions .getClock ());
921
921
String cursor = result .x ();
922
922
Iterable <Table > tables =
@@ -953,7 +953,7 @@ private static Page<Model> listModels(
953
953
}
954
954
},
955
955
serviceOptions .getRetrySettings (),
956
- EXCEPTION_HANDLER ,
956
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
957
957
serviceOptions .getClock ());
958
958
String cursor = result .x ();
959
959
Iterable <Model > models =
@@ -990,7 +990,7 @@ private static Page<Routine> listRoutines(
990
990
}
991
991
},
992
992
serviceOptions .getRetrySettings (),
993
- EXCEPTION_HANDLER ,
993
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
994
994
serviceOptions .getClock ());
995
995
String cursor = result .x ();
996
996
Iterable <Routine > routines =
@@ -1055,7 +1055,7 @@ public TableDataInsertAllResponse call() throws Exception {
1055
1055
}
1056
1056
},
1057
1057
getOptions ().getRetrySettings (),
1058
- EXCEPTION_HANDLER ,
1058
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
1059
1059
getOptions ().getClock ());
1060
1060
} catch (RetryHelperException e ) {
1061
1061
throw BigQueryException .translateAndThrow (e );
@@ -1119,7 +1119,7 @@ public TableDataList call() {
1119
1119
}
1120
1120
},
1121
1121
serviceOptions .getRetrySettings (),
1122
- EXCEPTION_HANDLER ,
1122
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
1123
1123
serviceOptions .getClock ());
1124
1124
String cursor = result .getPageToken ();
1125
1125
Map <BigQueryRpc .Option , ?> pageOptionMap =
@@ -1179,7 +1179,7 @@ public com.google.api.services.bigquery.model.Job call() {
1179
1179
}
1180
1180
},
1181
1181
getOptions ().getRetrySettings (),
1182
- EXCEPTION_HANDLER ,
1182
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
1183
1183
getOptions ().getClock ());
1184
1184
if (getOptions ().getThrowNotFound () && answer == null ) {
1185
1185
throw new BigQueryException (HTTP_NOT_FOUND , "Job not found" );
@@ -1208,7 +1208,7 @@ public Tuple<String, Iterable<com.google.api.services.bigquery.model.Job>> call(
1208
1208
}
1209
1209
},
1210
1210
serviceOptions .getRetrySettings (),
1211
- EXCEPTION_HANDLER ,
1211
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
1212
1212
serviceOptions .getClock ());
1213
1213
String cursor = result .x ();
1214
1214
Iterable <Job > jobs =
@@ -1247,7 +1247,7 @@ public Boolean call() {
1247
1247
}
1248
1248
},
1249
1249
getOptions ().getRetrySettings (),
1250
- EXCEPTION_HANDLER ,
1250
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
1251
1251
getOptions ().getClock ());
1252
1252
} catch (RetryHelper .RetryHelperException e ) {
1253
1253
throw BigQueryException .translateAndThrow (e );
@@ -1440,7 +1440,7 @@ public com.google.api.services.bigquery.model.Policy call() {
1440
1440
}
1441
1441
},
1442
1442
getOptions ().getRetrySettings (),
1443
- EXCEPTION_HANDLER ,
1443
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
1444
1444
getOptions ().getClock ()));
1445
1445
} catch (RetryHelper .RetryHelperException e ) {
1446
1446
throw BigQueryException .translateAndThrow (e );
@@ -1466,7 +1466,7 @@ public com.google.api.services.bigquery.model.Policy call() {
1466
1466
}
1467
1467
},
1468
1468
getOptions ().getRetrySettings (),
1469
- EXCEPTION_HANDLER ,
1469
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
1470
1470
getOptions ().getClock ()));
1471
1471
} catch (RetryHelperException e ) {
1472
1472
throw BigQueryException .translateAndThrow (e );
@@ -1493,7 +1493,7 @@ public com.google.api.services.bigquery.model.TestIamPermissionsResponse call()
1493
1493
}
1494
1494
},
1495
1495
getOptions ().getRetrySettings (),
1496
- EXCEPTION_HANDLER ,
1496
+ BigQueryBaseService . BIGQUERY_EXCEPTION_HANDLER ,
1497
1497
getOptions ().getClock ());
1498
1498
return response .getPermissions () == null
1499
1499
? ImmutableList .of ()
0 commit comments