FileDocCategorySizeDatePackage
NNTPConnectionClosedException.javaAPI DocApache Commons NET 1.4.1 API1723Sat Dec 03 10:05:50 GMT 2005org.apache.commons.net.nntp

NNTPConnectionClosedException

public final class NNTPConnectionClosedException extends IOException
NNTPConnectionClosedException is used to indicate the premature or unexpected closing of an NNTP connection resulting from a {@link org.apache.commons.net.nntp.NNTPReply#SERVICE_DISCONTINUED NNTPReply.SERVICE_DISCONTINUED } response (NNTP reply code 400) to a failed NNTP command. This exception is derived from IOException and therefore may be caught either as an IOException or specifically as an NNTPConnectionClosedException.

author
Daniel F. Savarese
see
NNTP
see
NNTPClient

Fields Summary
Constructors Summary
public NNTPConnectionClosedException()
Constructs a NNTPConnectionClosedException with no message

        super();
    
public NNTPConnectionClosedException(String message)
Constructs a NNTPConnectionClosedException with a specified message.

param
message The message explaining the reason for the exception.

        super(message);
    
Methods Summary