javax.mail

Class NoSuchProviderException


public class NoSuchProviderException
extends MessagingException

An exception thrown on an attempt to instantiate a provider that doesn't exist.

Constructor Summary

NoSuchProviderException()
Constructs a messaging exception with no detail message.
NoSuchProviderException(String message)
Constructs a messaging exception with the specified detail message.

Method Summary

Methods inherited from class javax.mail.MessagingException

getMessage, getNextException, printStackTrace, printStackTrace, setNextException

Constructor Details

NoSuchProviderException

public NoSuchProviderException()
Constructs a messaging exception with no detail message.

NoSuchProviderException

public NoSuchProviderException(String message)
Constructs a messaging exception with the specified detail message.
Parameters:
message - the detail message