Coverage report

| %line | %branch
--- | --- | ---
org.apache.commons.net.nntp.NNTPConnectionClosedException |
0% |
0% |

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.nntp;
17 |  |
18 |  |
     import java.io.IOException;
19 |  |
20 |  |
     /***
21 |  |
      * NNTPConnectionClosedException is used to indicate the premature or
22 |  |
      * unexpected closing of an NNTP connection resulting from a
23 |  |
      * {@link org.apache.commons.net.nntp.NNTPReply#SERVICE_DISCONTINUED NNTPReply.SERVICE_DISCONTINUED }
24 |  |
      *  response (NNTP reply code 400) to a
25 |  |
      * failed NNTP command.  This exception is derived from IOException and
26 |  |
      * therefore may be caught either as an IOException or specifically as an
27 |  |
      * NNTPConnectionClosedException.
28 |  |
      * <p>
29 |  |
      * <p>
30 |  |
      * @author Daniel F. Savarese
31 |  |
      * @see NNTP
32 |  |
      * @see NNTPClient
33 |  |
      ***/
34 |  |
35 |  |
     public final class NNTPConnectionClosedException extends IOException
36 |  |
     {
37 |  |
38 |  |
         /*** Constructs a NNTPConnectionClosedException with no message ***/
39 |  |
         public NNTPConnectionClosedException()
40 |  |
         {
41 | 0 |
             super();
42 | 0 |
         }
43 |  |
44 |  |
         /***
45 |  |
          * Constructs a NNTPConnectionClosedException with a specified message.
46 |  |
          * <p>
47 |  |
          * @param message  The message explaining the reason for the exception.
48 |  |
          ***/
49 |  |
         public NNTPConnectionClosedException(String message)
50 |  |
         {
51 | 0 |
             super(message);
52 | 0 |
         }
53 |  |
54 |  |
     }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.