Package javax.mail

Class NoSuchProviderException

All Implemented Interfaces:
Serializable

public class NoSuchProviderException extends MessagingException
This exception is thrown when Session attempts to instantiate a Provider that doesn't exist.
See Also:
  • Constructor Details

    • NoSuchProviderException

      public NoSuchProviderException()
      Constructs a NoSuchProviderException with no detail message.
    • NoSuchProviderException

      public NoSuchProviderException(String message)
      Constructs a NoSuchProviderException with the specified detail message.
      Parameters:
      message - The detailed error message
    • NoSuchProviderException

      public NoSuchProviderException(String message, Exception e)
      Constructs a NoSuchProviderException with the specified detail message and embedded exception. The exception is chained to this exception.
      Parameters:
      message - The detailed error message
      e - The embedded exception
      Since:
      JavaMail 1.5