public abstract class

MailException

extends NestedRuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.mail.MailException
Known Direct Subclasses

Class Overview

Base class for all mail exceptions.

Summary

Public Constructors
MailException(String msg)
Constructor for MailException.
MailException(String msg, Throwable cause)
Constructor for MailException.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public MailException (String msg)

Constructor for MailException.

Parameters
msg the detail message

public MailException (String msg, Throwable cause)

Constructor for MailException.

Parameters
msg the detail message
cause the root cause from the mail API in use