You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/23 13:07:53 UTC
[commons-net] 03/06: FTPClientTest now throws IllegalStateException instead of RuntimeException.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git
commit 1bb0eb6189e340bc3745395252dd532a769f87cc
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jun 23 09:04:35 2023 -0400
FTPClientTest now throws IllegalStateException
instead of RuntimeException.
---
src/test/java/org/apache/commons/net/ftp/FTPClientTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java b/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java
index f2dc55cf..5576b393 100644
--- a/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java
+++ b/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java
@@ -54,7 +54,7 @@ public class FTPClientTest extends TestCase {
try {
return InetAddress.getByName(passiveModeServerIP);
} catch (final Exception e) {
- throw new RuntimeException(e);
+ throw new IllegalStateException(e);
}
}