de.trantor.mail
Class MailException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--de.trantor.mail.MailException
All Implemented Interfaces:
java.io.Serializable

public class MailException
extends java.lang.Exception

An exception class for mail errors. An instance of this class is raised whenever a protocol error occurs during a POP3, SMTP or IMAP session. This is the case, for example, when a given password is incorrect or when the client tries to retrieve a message that doesn't exist. The getMessage() method returns the server response that signaled the error.

See Also:
Pop3Client, ImapClient, SmtpClient, Serialized Form

Constructor Summary
MailException(java.lang.String message)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailException

public MailException(java.lang.String message)