File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public static String extractErrorType(@Nullable Throwable error) {
127127 Throwable realError = unwrapError (error );
128128
129129 // 2. Attempt to extract specific error type from the main exception
130- String specificError = extractSpecificErrorType (realError );
130+ String specificError = extractKnownErrorType (realError );
131131 if (specificError != null ) {
132132 return specificError ;
133133 }
@@ -158,7 +158,7 @@ private static Throwable unwrapError(Throwable t) {
158158 * it cannot be specifically classified.
159159 */
160160 @ Nullable
161- private static String extractSpecificErrorType (Throwable error ) {
161+ private static String extractKnownErrorType (Throwable error ) {
162162 // 1. Extract error info reason
163163 if (error instanceof ApiException ) {
164164 String reason = ((ApiException ) error ).getReason ();
You can’t perform that action at this time.
0 commit comments