Name

javax.mail.internet.AddressException — When a mail address with an improper format is used, this exception is thrown.

Synopsis

public class AddressException extends ParseException {
    // Public Constructors
            public AddressException();
            public AddressException(java.lang.String s);
            public AddressException(java.lang.String s, java.lang.String ref);
            public AddressException(java.lang.String s, java.lang.String ref,
             int pos);
    // Protected Variables
            protected java.lang.String ref;
            protected int pos;
    // Public Methods
            public java.lang.String getRef();
            public int getPos();
            public java.lang.String toString();
}

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.