Top Description Constructors
org.springframework.mail

public Class MailPreparationException

extends MailException
Class Inheritance
Annotations
@SuppressWarnings:serial

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

Constructor Summary

AccessConstructor and Description
public
MailPreparationException(String
the detail message
msg
)

Constructor for MailPreparationException.

public
MailPreparationException(String
the detail message
msg
,
Throwable
the root cause from the mail API in use
cause
)

Constructor for MailPreparationException.

public

Constructor Detail

MailPreparationExceptionback to summary
public MailPreparationException(String msg)

Constructor for MailPreparationException.

Parameters
msg:String

the detail message

MailPreparationExceptionback to summary
public MailPreparationException(String msg, Throwable cause)

Constructor for MailPreparationException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the mail API in use

MailPreparationExceptionback to summary
public MailPreparationException(Throwable cause)