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