You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/09/21 16:29:00 UTC

[GitHub] [cassandra] dcapwell commented on a diff in pull request #1741: Fix for CASSANDRA-14218: Deprecate Throwables.propagate usage

dcapwell commented on code in PR #1741:
URL: https://github.com/apache/cassandra/pull/1741#discussion_r976742369


##########
src/java/org/apache/cassandra/streaming/management/ProgressInfoCompositeData.java:
##########
@@ -68,7 +66,7 @@
         }
         catch (OpenDataException e)
         {
-            throw Throwables.propagate(e);
+            throw new RuntimeException(e);           

Review Comment:
   extra space



##########
src/java/org/apache/cassandra/streaming/management/StreamStateCompositeData.java:
##########
@@ -67,7 +66,7 @@
         }
         catch (OpenDataException e)
         {
-            throw Throwables.propagate(e);
+            throw new RuntimeException(e);        

Review Comment:
   extra space



##########
src/java/org/apache/cassandra/tools/LoaderOptions.java:
##########
@@ -174,9 +173,9 @@ public LoaderOptions build()
             }
             catch (UnknownHostException e)
             {
-                Throwables.propagate(e);
+                throw new RuntimeException(e);
             }
-
+            

Review Comment:
   extra space



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org