类 MailAuthenticationException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.mail.MailException
- org.springframework.mail.MailAuthenticationException
- 所有已实现的接口:
Serializable
public class MailAuthenticationException extends MailException
Exception thrown on failed authentication.- 作者:
- Dmitriy Kopylenko, Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 MailAuthenticationException(String msg)
Constructor for MailAuthenticationException.MailAuthenticationException(String msg, Throwable cause)
Constructor for MailAuthenticationException.MailAuthenticationException(Throwable cause)
Constructor for MailAuthenticationException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
MailAuthenticationException
public MailAuthenticationException(String msg)
Constructor for MailAuthenticationException.- 参数:
msg
- message
MailAuthenticationException
public MailAuthenticationException(String msg, Throwable cause)
Constructor for MailAuthenticationException.- 参数:
msg
- the detail messagecause
- the root cause from the mail API in use
MailAuthenticationException
public MailAuthenticationException(Throwable cause)
Constructor for MailAuthenticationException.- 参数:
cause
- the root cause from the mail API in use