Name

javax.mail.AuthenticationFailedException — A bad username or password given during connection in a javax.mail.Store or javax.mail.Transport object will throw this exception.

Synopsis

public class AuthenticationFailedException extends MessagingException {
    // Public Constructors
            public AuthenticationFailedException();
            public AuthenticationFailedException(java.lang.String message);
}

Hierarchy

java.lang.Object→java.lang.Throwable→java.lang.Exception→javax.mail.
MessagingException→javax.mail.AuthenticationFailedException

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.