Uses of Class javax.mail.NoSuchProviderException (JavaMail API documentation)
Date: 2019-08-31

## Uses of Class
javax.mail.NoSuchProviderException

- Packages that use NoSuchProviderException
  Package | Description
  --- | ---
  javax.mail | The JavaMailTM API provides classes that model a mail system.

- - ### Uses of NoSuchProviderException in javax.mail

    Methods in javax.mail that throw NoSuchProviderException
    Modifier and Type | Method and Description
    --- | ---
    `Provider` | Session.`getProvider(java.lang.String protocol)` Returns the default Provider for the protocol specified.
    `Store` | Session.`getStore()` Get a Store object that implements this user's desired Store protocol.
    `Store` | Session.`getStore(Provider provider)` Get an instance of the store specified by Provider.
    `Store` | Session.`getStore(java.lang.String protocol)` Get a Store object that implements the specified protocol.
    `Store` | Session.`getStore(URLName url)` Get a Store object for the given URLName.
    `Transport` | Session.`getTransport()` Get a Transport object that implements this user's desired Transport protcol.
    `Transport` | Session.`getTransport(Address address)` Get a Transport object that can transport a Message of the specified address type.
    `Transport` | Session.`getTransport(Provider provider)` Get an instance of the transport specified in the Provider.
    `Transport` | Session.`getTransport(java.lang.String protocol)` Get a Transport object that implements the specified protocol.
    `Transport` | Session.`getTransport(URLName url)` Get a Transport object for the given URLName.
    `void` | Session.`setProvider(Provider provider)` Set the passed Provider to be the default implementation for the protocol in Provider.protocol overriding any previous values.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.