Package 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 Description VelocityEmailException()
Constructs a newVelocityEmailException
without specified detail message.VelocityEmailException(String msg)
Constructs a newVelocityEmailException
with specified detail message.VelocityEmailException(String msg, Throwable nested)
Constructs a newVelocityEmailException
with specified detail message and nestedThrowable
.VelocityEmailException(Throwable nested)
Constructs a newVelocityEmailException
with specified nestedThrowable
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
VelocityEmailException
public VelocityEmailException()
Constructs a newVelocityEmailException
without specified detail message.
-
VelocityEmailException
public VelocityEmailException(String msg)
Constructs a newVelocityEmailException
with specified detail message.- Parameters:
msg
- The error message.
-
VelocityEmailException
public VelocityEmailException(Throwable nested)
Constructs a newVelocityEmailException
with specified nestedThrowable
.- Parameters:
nested
- The exception or error that caused this exception to be thrown.
-
VelocityEmailException
public VelocityEmailException(String msg, Throwable nested)
Constructs a newVelocityEmailException
with specified detail message and nestedThrowable
.- Parameters:
msg
- The error message.nested
- The exception or error that caused this exception to be thrown.
-
-