All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.messaging.pop3.POP3ServerException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.io.IOException
                           |
                           +----netscape.messaging.pop3.POP3Exception
                                   |
                                   +----netscape.messaging.pop3.POP3ServerException

public class POP3ServerException
extends POP3Exception
The POP3ServerException class represents a server response error in the POP3 implementation of the Messaging Access SDK.

The POP3ServerException class handles server response errors. A POP3ServerException is thrown only from the error callback on the response sink. The interface definition for IPOP3Sink states that a POP3 server exception 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 POP3Sink 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.


Constructor Index

 o POP3ServerException()
Creates a POP3ServerException object.
 o POP3ServerException(String)
Creates a POP3ServerException object that includes a descriptive string.

Constructors

 o POP3ServerException
 public POP3ServerException()
Creates a POP3ServerException object. Default constructor for a POP3ServerException object.

 o POP3ServerException
 public POP3ServerException(String s)
Creates a POP3ServerException object that includes a descriptive string.

Parameters:
s - String that describes the exception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index