javax.mail.internet
public class AddressException extends ParseException
Version: 1.3
Field Summary | |
---|---|
protected int | pos
The index in ref where the error occurred, or -1 if not known. |
protected String | ref
The address(es) being parsed. |
Constructor Summary | |
---|---|
AddressException()
Constructor with no detail message. | |
AddressException(String s)
Constructor with the specified detail message. | |
AddressException(String s, String ref)
Constructor with the specified detail message and address being parsed. | |
AddressException(String s, String ref, int pos)
Constructor with the specified detail message and address being parsed. |
Method Summary | |
---|---|
int | getPos()
Returns the position within ref where the error was detected,
or -1 if ref is null. |
String | getRef()
Returns the address(es) being parsed when the error was detected. |
String | toString() |
ref
where the error occurred, or -1 if not known.Parameters: s the detail message
Parameters: s the detail message ref the address being parsed
Parameters: s the detail message ref the address being parsed pos the index in ref
where the error occurred
ref
where the error was detected,
or -1 if ref
is null.