| %line | %branch | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| org.apache.commons.net.ftp.FTPConnectionClosedException |
|
|
| 1 | /* |
|
| 2 | * Copyright 2001-2005 The Apache Software Foundation |
|
| 3 | * |
|
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 5 | * you may not use this file except in compliance with the License. |
|
| 6 | * You may obtain a copy of the License at |
|
| 7 | * |
|
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 9 | * |
|
| 10 | * Unless required by applicable law or agreed to in writing, software |
|
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 13 | * See the License for the specific language governing permissions and |
|
| 14 | * limitations under the License. |
|
| 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 | 0 | super(); |
| 41 | 0 | } |
| 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 | 0 | super(message); |
| 51 | 0 | } |
| 52 | ||
| 53 | } |
| This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |