Top Description Constructors Methods
org.springframework.mail

public abstract Class MailException

extends NestedRuntimeException
Class Inheritance
Known Direct Subclasses
org.springframework.mail.MailParseException, org.springframework.mail.MailPreparationException, org.springframework.mail.MailSendException, org.springframework.mail.MailAuthenticationException
Annotations
@SuppressWarnings:serial
Imports
org.springframework.core.NestedRuntimeException, org.springframework.lang.Nullable

Base class for all mail exceptions.
Author
Dmitriy Kopylenko

Constructor Summary

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

Constructor for MailException.

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

Constructor for MailException.

Method Summary

Inherited from org.springframework.core.NestedRuntimeException:
containsgetMostSpecificCausegetRootCause

Constructor Detail

MailExceptionback to summary
public MailException(String msg)

Constructor for MailException.

Parameters
msg:String

the detail message

MailExceptionback to summary
public MailException(String msg, Throwable cause)

Constructor for MailException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the mail API in use