소스 검색

codacy: Avoid throwing raw exception types.

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 5 년 전
부모
커밋
c4deb28044
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/nextcloud/android/sso/InputStreamBinder.java

+ 1 - 1
src/main/java/com/nextcloud/android/sso/InputStreamBinder.java

@@ -311,7 +311,7 @@ public class InputStreamBinder extends IInputStreamService.Stub {
             }
             throw new IllegalStateException(EXCEPTION_HTTP_REQUEST_FAILED,
                                             new IllegalStateException(String.valueOf(status),
-                                                                      new Throwable(total.toString())));
+                                                                      new IllegalStateException(total.toString())));
         }
     }