Name

NoSuchProviderException

Synopsis

This exception is thrown when a session attempts to use a provider that has not been installed on the system.

                  Passed To
public class NoSuchProviderException extends MessagingException {
// Public Constructors
   public NoSuchProviderException();  
   public NoSuchProviderException( String message);  
}

Thrown By

javax.mail.Session.{getProvider(), getStore(), getTransport(), setProvider()}

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.