Name

MessagingException

Synopsis

This is the base class for all JavaMail exceptions.

                  
public class MessagingException extends Exception {
// Public Constructors
   public MessagingException();  
   public MessagingException( String s);  
   public MessagingException( String s, Exception e);  
// Public Instance Methods
   public Exception getNextException();                          // default:null
   public boolean setNextException( Exception ex);               // synchronized
                  // Public Methods Overriding Throwable
   public String getMessage();                                   // default:null
}

Subclasses

AuthenticationFailedException, FolderClosedException, FolderNotFoundException, IllegalWriteException, MessageRemovedException, MethodNotSupportedException, javax.mail.NoSuchProviderException, ReadOnlyFolderException, SendFailedException, StoreClosedException, javax.mail.internet.ParseException, javax.mail.search.SearchException

Thrown By

Too many methods to list.

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.