Name
javax.mail.internet.AddressException — When a mail address with an improper format is used, this exception is thrown.
Synopsis
public classAddressException
extends ParseException { // Public Constructors publicAddressException
(); publicAddressException
(java.lang.String s); publicAddressException
(java.lang.String s, java.lang.String ref); publicAddressException
(java.lang.String s, java.lang.String ref, int pos); // Protected Variables protected java.lang.Stringref;
protected intpos;
// Public Methods public java.lang.StringgetRef
(); public intgetPos
(); public java.lang.StringtoString
(); }
Hierarchy
java.lang.Object→java.lang.Throwable→java.lang.Exception→javax.mail. MessagingException→javax.mail.internet.ParseException→javax.mail.internet. AddressException
Get Programming Internet Email now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.