Package com.oroinc.net.nntp
Class NNTPConnectionClosedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.oroinc.net.nntp.NNTPConnectionClosedException
- All Implemented Interfaces:
Serializable
NNTPConnectionClosedException is used to indicate the premature or
unexpected closing of an NNTP connection resulting from a
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:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a NNTPConnectionClosedException with no messageNNTPConnectionClosedException
(String message) Constructs a NNTPConnectionClosedException with a specified message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NNTPConnectionClosedException
public NNTPConnectionClosedException()Constructs a NNTPConnectionClosedException with no message -
NNTPConnectionClosedException
Constructs a NNTPConnectionClosedException with a specified message.- Parameters:
message
- The message explaining the reason for the exception.
-