spring-framework / org.springframework.mail / MailPreparationException

MailPreparationException

open class MailPreparationException : MailException

Exception to be thrown by user code if a mail cannot be prepared properly, for example when a FreeMarker template cannot be rendered for the mail text.

Author
Juergen Hoeller

Since
1.1

See Also
org.springframework.ui.freemarker.FreeMarkerTemplateUtils#processTemplateIntoString

Constructors

<init>

MailPreparationException(msg: String)
MailPreparationException(msg: String, cause: Throwable)

Constructor for MailPreparationException.

MailPreparationException(cause: Throwable)