org.apache.commons.net.nntp
Class 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 Also: NNTP
public NNTPConnectionClosedException()
Constructs a NNTPConnectionClosedException with no message **
public NNTPConnectionClosedException(String message)
Constructs a NNTPConnectionClosedException with a specified message.
Parameters: message The message explaining the reason for the exception.