1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.commons.net.ftp;
17 import java.io.IOException;
18
19 /***
20 * FTPConnectionClosedException is used to indicate the premature or
21 * unexpected closing of an FTP connection resulting from a
22 * {@link org.apache.commons.net.ftp.FTPReply#SERVICE_NOT_AVAILABLE FTPReply.SERVICE_NOT_AVAILABLE }
23 * response (FTP reply code 421) to a
24 * failed FTP command. This exception is derived from IOException and
25 * therefore may be caught either as an IOException or specifically as an
26 * FTPConnectionClosedException.
27 * <p>
28 * <p>
29 * @author Daniel F. Savarese
30 * @see FTP
31 * @see FTPClient
32 ***/
33
34 public class FTPConnectionClosedException extends IOException
35 {
36
37 /*** Constructs a FTPConnectionClosedException with no message ***/
38 public FTPConnectionClosedException()
39 {
40 super();
41 }
42
43 /***
44 * Constructs a FTPConnectionClosedException with a specified message.
45 * <p>
46 * @param message The message explaining the reason for the exception.
47 ***/
48 public FTPConnectionClosedException(String message)
49 {
50 super(message);
51 }
52
53 }