| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | com.google.code.javax.mail.MessagingException | ||||
| ↳ | com.google.code.javax.mail.internet.ParseException | ||||
| ↳ | com.google.code.javax.mail.internet.AddressException | ||||
The exception thrown when a wrongly formatted address is encountered.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| long | serialVersionUID | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.internet.ParseException
| |||||||||||
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Exception
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| pos | The index in the string where the error occurred, or -1 if not known. | ||||||||||
| ref | The string being parsed. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an AddressException with no detail message.
| |||||||||||
Constructs an AddressException with the specified detail message.
| |||||||||||
Constructs an AddressException with the specified detail message
and reference info.
| |||||||||||
Constructs an AddressException with the specified detail message
and reference info.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the position with the reference string where the error was
detected (-1 if not relevant).
| |||||||||||
Get the string that was being parsed when the error was detected
(null if not relevant).
| |||||||||||
Override toString method to provide information on
nested exceptions.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
The index in the string where the error occurred, or -1 if not known.
The string being parsed.
Constructs an AddressException with no detail message.
Constructs an AddressException with the specified detail message.
| s | The detail message |
|---|
Constructs an AddressException with the specified detail message and reference info.
| s | The detail message |
|---|---|
| ref |
Constructs an AddressException with the specified detail message and reference info.
| s | The detail message |
|---|---|
| ref | |
| pos |
Get the position with the reference string where the error was detected (-1 if not relevant).
Get the string that was being parsed when the error was detected (null if not relevant).
Override toString method to provide information on nested exceptions.