Top Description Fields Constructors Methods
jakarta.mail.internet

public Class ParseException

extends MessagingException
Class Inheritance
Known Direct Subclasses
jakarta.mail.internet.AddressException
Imports
jakarta.mail.MessagingException

The exception thrown due to an error in parsing RFC822 or MIME headers, including multipart bodies.
Author
John Mani

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ParseException()

Constructs a ParseException with no detail message.

public
ParseException(String
the detail message
s
)

Constructs a ParseException with the specified detail message.

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

ParseExceptionback to summary
public ParseException()

Constructs a ParseException with no detail message.

ParseExceptionback to summary
public ParseException(String s)

Constructs a ParseException with the specified detail message.

Parameters
s:String

the detail message