Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » mail » [javadoc | source]
org.springframework.mail
public class: MailPreparationException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.springframework.core.NestedRuntimeException
               org.springframework.mail.MailException
                  org.springframework.mail.MailPreparationException

All Implemented Interfaces:
    Serializable

Exception to be thrown by user code if a mail cannot be prepared properly, for example when a Velocity template cannot be rendered for the mail text.
Constructor:
 public MailPreparationException(String msg) 
    Constructor for MailPreparationException.
    Parameters:
    msg - the detail message
 public MailPreparationException(Throwable cause) 
 public MailPreparationException(String msg,
    Throwable cause) 
    Constructor for MailPreparationException.
    Parameters:
    msg - the detail message
    cause - the root cause from the mail API in use
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait