javax.mail

Class AuthenticationFailedException


public class AuthenticationFailedException
extends MessagingException

This exception is thrown when the connect method on a Store or Transport object fails due to an authentication failure (e.g., bad user name or password).

Constructor Summary

AuthenticationFailedException()
AuthenticationFailedException(String message)

Method Summary

Methods inherited from class javax.mail.MessagingException

getMessage, getNextException, printStackTrace, printStackTrace, setNextException

Constructor Details

AuthenticationFailedException

public AuthenticationFailedException()


AuthenticationFailedException

public AuthenticationFailedException(String message)