org.apache.turbine.util.velocity
Class VelocityEmailException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.lang.exception.NestableException
              extended byorg.apache.turbine.util.TurbineException
                  extended byorg.apache.turbine.util.velocity.VelocityEmailException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.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.

Version:
$Id: VelocityEmailException.java 534527 2007-05-02 16:10:59Z tv $
Author:
Eric Pugh
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Constructor Summary
VelocityEmailException()
          Constructs a new VelocityEmailException without specified detail message.
VelocityEmailException(java.lang.String msg)
          Constructs a new VelocityEmailException with specified detail message.
VelocityEmailException(java.lang.String msg, java.lang.Throwable nested)
          Constructs a new VelocityEmailException with specified detail message and nested Throwable.
VelocityEmailException(java.lang.Throwable nested)
          Constructs a new VelocityEmailException with specified nested Throwable.
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, 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(java.lang.String msg)
Constructs a new VelocityEmailException with specified detail message.

Parameters:
msg - The error message.

VelocityEmailException

public VelocityEmailException(java.lang.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(java.lang.String msg,
                              java.lang.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-2008 Apache Software Foundation. All Rights Reserved.