javax.mail

Class MethodNotSupportedException


public class MethodNotSupportedException
extends MessagingException

The exception thrown when a method is not supported by the implementation.

Constructor Summary

MethodNotSupportedException()
Constructs a MessagingException with no detail message.
MethodNotSupportedException(String message)
Constructs a MessagingException with the specified detail message.

Method Summary

Methods inherited from class javax.mail.MessagingException

getMessage, getNextException, printStackTrace, printStackTrace, setNextException

Constructor Details

MethodNotSupportedException

public MethodNotSupportedException()
Constructs a MessagingException with no detail message.


MethodNotSupportedException

public MethodNotSupportedException(String message)
Constructs a MessagingException with the specified detail message.

Parameters:
message - the detail message