@@ -224,13 +224,12 @@ public int getSocketTimeout() {
224224 /**
225225 * Sets the socket timeout.
226226 *
227- * @param socketTimeout
228- * socket timeout, >0 ms
229- * @throws SocketException
227+ * @param socketTimeout when socket timeout, >0 ms
228+ * @throws SocketException when socketTime is not positive
230229 */
231230 public void setSocketTimeout (int socketTimeout ) throws SocketException {
232231 if (socketTimeout < 1 )
233- throw new IllegalArgumentException ("socket tiemout must be positive" );
232+ throw new IllegalArgumentException ("socket timeout must be positive" );
234233 this .socketTimeout = socketTimeout ;
235234 if (authSocket != null )
236235 authSocket .setSoTimeout (socketTimeout );
@@ -279,7 +278,7 @@ public long getDuplicateInterval() {
279278 * same address.
280279 *
281280 * @param duplicateInterval
282- * duplicate interval (ms), >0
281+ * @throws IllegalArgumentException when duplicateInterval (ms), >0
283282 */
284283 public void setDuplicateInterval (long duplicateInterval ) {
285284 if (duplicateInterval <= 0 )
@@ -341,8 +340,6 @@ protected void copyProxyState(RadiusPacket request, RadiusPacket answer) {
341340 * Returns when stop() is called.
342341 *
343342 * @throws SocketException
344- * @throws InterruptedException
345- *
346343 */
347344 protected void listenAuth () throws SocketException {
348345 listen (getAuthSocket ());
@@ -353,7 +350,6 @@ protected void listenAuth() throws SocketException {
353350 * Returns when stop() is called.
354351 *
355352 * @throws SocketException
356- * @throws InterruptedException
357353 */
358354 protected void listenAcct () throws SocketException {
359355 listen (getAcctSocket ());
0 commit comments