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 12:50:07 UTC

[commons-net] branch master updated: TFTPServer setter methods now throws IllegalArgumentException 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


The following commit(s) were added to refs/heads/master by this push:
     new 0ec9f709 TFTPServer setter methods now throws IllegalArgumentException instead of RuntimeException
0ec9f709 is described below

commit 0ec9f7090a07e95b1b5bcd307754e7cc24579edf
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jun 23 08:50:02 2023 -0400

    TFTPServer setter methods now throws IllegalArgumentException instead of
    RuntimeException
    
    - TFTPServer.setMaxTimeoutRetries() now throws IllegalArgumentException
    instead of RuntimeException.
    - TFTPServer.setSocketTimeout() now throws IllegalArgumentException
    instead of RuntimeException.
    - Javadoc
---
 src/changes/changes.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 824a9cc7..d051d22e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -82,6 +82,12 @@ The <action> type attribute can be add,update,fix,remove.
       <action type="fix" dev="ggregory" due-to="Martin Wiesner, Gary Gregory">
         Remove redundant (null) initializations and other clean ups #155.
       </action>
+      <action type="fix" dev="ggregory" due-to="Gary Gregory">
+        TFTPServer.setMaxTimeoutRetries() now throws IllegalArgumentException instead of RuntimeException.
+      </action>
+      <action type="fix" dev="ggregory" due-to="Gary Gregory">
+        TFTPServer.setSocketTimeout() now throws IllegalArgumentException instead of RuntimeException.
+      </action>
       <!-- UPDATE -->
       <action type="update" dev="ggregory" due-to="Dependabot">
         Bump commons-parent from 54 to 58 #132, #137, #153.