Top Description Fields Constructors Methods
javax.mail

public Class NoSuchProviderException

extends MessagingException
Class Inheritance

This exception is thrown when Session attempts to instantiate a Provider that doesn't exist.
Author
Max Spivak

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NoSuchProviderException()

Constructs a NoSuchProviderException with no detail message.

public
NoSuchProviderException(String
The detailed error message
message
)

Constructs a NoSuchProviderException with the specified detail message.

public
NoSuchProviderException(String
The detailed error message
message
,
Exception
The embedded exception
e
)

Constructs a NoSuchProviderException with the specified detail message and embedded exception.

Method Summary

Inherited from javax.mail.MessagingException:
getCausegetNextExceptionsetNextExceptiontoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.mail.MessagingException.serialVersionUID.

Constructor Detail

NoSuchProviderExceptionback to summary
public NoSuchProviderException()

Constructs a NoSuchProviderException with no detail message.

NoSuchProviderExceptionback to summary
public NoSuchProviderException(String message)

Constructs a NoSuchProviderException with the specified detail message.

Parameters
message:String

The detailed error message

NoSuchProviderExceptionback to summary
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:String

The detailed error message

e:Exception

The embedded exception

Since
JavaMail 1.5