javax.mail

Class AuthenticationFailedException


public class AuthenticationFailedException
extends MessagingException

An exception thrown to indicate that authentication failed during a service's connect method.

Constructor Summary

AuthenticationFailedException()
Constructs a messaging exception with no detail message.
AuthenticationFailedException(String message)
Constructs a messaging exception with the specified detail message.

Method Summary

Methods inherited from class javax.mail.MessagingException

getMessage, getNextException, printStackTrace, printStackTrace, setNextException

Constructor Details

AuthenticationFailedException

public AuthenticationFailedException()
Constructs a messaging exception with no detail message.

AuthenticationFailedException

public AuthenticationFailedException(String message)
Constructs a messaging exception with the specified detail message.
Parameters:
message - the detail message