javax.mail.internet

Class ParseException

Known Direct Subclasses:
AddressException

public class ParseException
extends MessagingException

The exception thrown due to an error in parsing RFC822 or MIME headers.

Constructor Summary

ParseException()
Constructs a ParseException with no detail message.
ParseException(String s)
Constructs a ParseException with the specified detail message.

Method Summary

Methods inherited from class javax.mail.MessagingException

getMessage, getNextException, printStackTrace, printStackTrace, setNextException

Constructor Details

ParseException

public ParseException()
Constructs a ParseException with no detail message.


ParseException

public ParseException(String s)
Constructs a ParseException with the specified detail message.

Parameters:
s - the detail message