org.apache.turbine.util.velocity

## Class VelocityEmailException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.apache.turbine.util.TurbineException
      - - org.apache.turbine.util.velocity.VelocityEmailException

- All Implemented Interfaces:
    Serializable

      public class VelocityEmailException
      extends TurbineException

  This exception is thrown if a VelocityEmail/VelocityHtmlEmail can not be sent using JavaMail. It will most likly wrap a javax.mail.MessagingException exception.
  Author:
    Eric Pugh
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VelocityEmailException()` Constructs a new `VelocityEmailException` without specified detail message.
    `VelocityEmailException(String msg)` Constructs a new `VelocityEmailException` with specified detail message.
    `VelocityEmailException(String msg, Throwable nested)` Constructs a new `VelocityEmailException` with specified detail message and nested `Throwable`.
    `VelocityEmailException(Throwable nested)` Constructs a new `VelocityEmailException` with specified nested `Throwable`.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

    - #### VelocityEmailException

          public VelocityEmailException()

      Constructs a new `VelocityEmailException` without specified detail message.

    - #### VelocityEmailException

          public VelocityEmailException(String msg)

      Constructs a new `VelocityEmailException` with specified detail message.
      Parameters:
        `msg` - The error message.

    - #### VelocityEmailException

          public VelocityEmailException(Throwable nested)

      Constructs a new `VelocityEmailException` with specified nested `Throwable`.
      Parameters:
        `nested` - The exception or error that caused this exception to be thrown.

    - #### VelocityEmailException

          public VelocityEmailException(String msg,
                                Throwable nested)

      Constructs a new `VelocityEmailException` with specified detail message and nested `Throwable`.
      Parameters:
        `msg` - The error message.
        `nested` - The exception or error that caused this exception to be thrown.

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.