Top Description Fields Constructors Methods
javax.mail

public Class IllegalWriteException

extends MessagingException
Class Inheritance

The exception thrown when a write is attempted on a read-only attribute of any Messaging object.
Author
John Mani

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
IllegalWriteException()

Constructs an IllegalWriteException with no detail message.

public
IllegalWriteException(String
The detailed error message
s
)

Constructs an IllegalWriteException with the specified detail message.

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

Constructs an IllegalWriteException 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

IllegalWriteExceptionback to summary
public IllegalWriteException()

Constructs an IllegalWriteException with no detail message.

IllegalWriteExceptionback to summary
public IllegalWriteException(String s)

Constructs an IllegalWriteException with the specified detail message.

Parameters
s:String

The detailed error message

IllegalWriteExceptionback to summary
public IllegalWriteException(String s, Exception e)

Constructs an IllegalWriteException 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