All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.lang.Throwable | +----java.lang.Exception | +----java.io.IOException | +----netscape.messaging.smtp.SMTPException | +----netscape.messaging.smtp.SMTPServerException
The SMTPServerException class handles server response errors. An SMTPServerException is thrown only from the error callback on the response sink. The interface definition for ISMTPSink states that an SMTPServerException can be thrown, but it is up to the developer to determine whether or not the implementation of the error callback will throw this exception. As a default, the SMTPSink class throws an exception whenever the error callback is called.
This exception is caused when the server sends an error saying that some part of the operation failed or is not supported. This can happen even when all relevant code executes properly.
public SMTPServerException()
public SMTPServerException(String msg)
All Packages Class Hierarchy This Package Previous Next Index