Package jakarta.mail
Class NoSuchProviderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.mail.MessagingException
jakarta.mail.NoSuchProviderException
- All Implemented Interfaces:
 Serializable
This exception is thrown when Session attempts to instantiate a
 Provider that doesn't exist.
- Author:
 - Max Spivak
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionConstructs a NoSuchProviderException with no detail message.NoSuchProviderException(String message) Constructs a NoSuchProviderException with the specified detail message.NoSuchProviderException(String message, Exception e) Constructs a NoSuchProviderException with the specified detail message and embedded exception. - 
Method Summary
Methods inherited from class jakarta.mail.MessagingException
getCause, getNextException, setNextException, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace 
- 
Constructor Details
- 
NoSuchProviderException
public NoSuchProviderException()Constructs a NoSuchProviderException with no detail message. - 
NoSuchProviderException
Constructs a NoSuchProviderException with the specified detail message.- Parameters:
 message- The detailed error message
 - 
NoSuchProviderException
Constructs a NoSuchProviderException with the specified detail message and embedded exception. The exception is chained to this exception.- Parameters:
 message- The detailed error messagee- The embedded exception- Since:
 - JavaMail 1.5
 
 
 -