org.springframework.mail
Class MailParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.mail.MailException
                      extended by org.springframework.mail.MailParseException
All Implemented Interfaces:
java.io.Serializable

public class MailParseException
extends MailException

Exception thrown if illegal message properties are encountered.

Author:
Dmitriy Kopylenko, Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
MailParseException(java.lang.String msg)
          Constructor for MailParseException.
MailParseException(java.lang.String msg, java.lang.Throwable cause)
          Constructor for MailParseException.
MailParseException(java.lang.Throwable cause)
          Constructor for MailParseException.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailParseException

public MailParseException(java.lang.String msg)
Constructor for MailParseException.

Parameters:
msg - the detail message

MailParseException

public MailParseException(java.lang.String msg,
                          java.lang.Throwable cause)
Constructor for MailParseException.

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

MailParseException

public MailParseException(java.lang.Throwable cause)
Constructor for MailParseException.

Parameters:
cause - the root cause from the mail API in use