Top Description Fields Constructors Methods
jakarta.mail

public Class MethodNotSupportedException

extends MessagingException
Class Inheritance

The exception thrown when a method is not supported by the implementation
Author
John Mani

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
MethodNotSupportedException()

Constructs a MethodNotSupportedException with no detail message.

public
MethodNotSupportedException(String
The detailed error message
s
)

Constructs a MethodNotSupportedException with the specified detail message.

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

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

Method Summary

Inherited from jakarta.mail.MessagingException:
getCausegetNextExceptionsetNextExceptiontoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.mail.MessagingException.serialVersionUID.

Constructor Detail

MethodNotSupportedExceptionback to summary
public MethodNotSupportedException()

Constructs a MethodNotSupportedException with no detail message.

MethodNotSupportedExceptionback to summary
public MethodNotSupportedException(String s)

Constructs a MethodNotSupportedException with the specified detail message.

Parameters
s:String

The detailed error message

MethodNotSupportedExceptionback to summary
public MethodNotSupportedException(String s, Exception e)

Constructs a MethodNotSupportedException with the specified detail message and embedded exception. The exception is chained to this exception.

Parameters
s:String

The detailed error message

e:Exception

The embedded exception

Since
JavaMail 1.5