Class MailUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.mail.MailException
io.leandev.appfuse.mail.MailUnavailableException
- All Implemented Interfaces:
Serializable
public class MailUnavailableException
extends org.springframework.mail.MailException
無可用的郵件服務——RoutingMailer 解析不到任何郵件設定(provider 給不出 spec、
亦無系統預設 Mailer)時,於寄信/組信當下拋出。
與 MailBlockedException(政策封鎖:有 Mailer 但收件者全被防火牆擋下)區分:
本例外表示「根本沒有可寄信的管道」。
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MailUnavailableException
-