Coverage Report - org.apache.turbine.util.velocity.VelocityEmailException
 
Classes in this File Line Coverage Branch Coverage Complexity
VelocityEmailException
0%
0/8
N/A
1
 
 1  
 package org.apache.turbine.util.velocity;
 2  
 
 3  
 
 4  
 /*
 5  
  * Licensed to the Apache Software Foundation (ASF) under one
 6  
  * or more contributor license agreements.  See the NOTICE file
 7  
  * distributed with this work for additional information
 8  
  * regarding copyright ownership.  The ASF licenses this file
 9  
  * to you under the Apache License, Version 2.0 (the
 10  
  * "License"); you may not use this file except in compliance
 11  
  * with the License.  You may obtain a copy of the License at
 12  
  *
 13  
  *   http://www.apache.org/licenses/LICENSE-2.0
 14  
  *
 15  
  * Unless required by applicable law or agreed to in writing,
 16  
  * software distributed under the License is distributed on an
 17  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 18  
  * KIND, either express or implied.  See the License for the
 19  
  * specific language governing permissions and limitations
 20  
  * under the License.
 21  
  */
 22  
 
 23  
 
 24  
 import org.apache.turbine.util.TurbineException;
 25  
 
 26  
 /**
 27  
  * This exception is thrown if a VelocityEmail/VelocityHtmlEmail can not be
 28  
  * sent using JavaMail.  It will most likly wrap a javax.mail.MessagingException
 29  
  * exception.
 30  
  *
 31  
  * @author <a href="mailto:epugh@upstate.com">Eric Pugh</a>
 32  
  */
 33  
 public class VelocityEmailException extends TurbineException
 34  
 {
 35  
     /** Serial version */
 36  
     private static final long serialVersionUID = 4657494114757749486L;
 37  
 
 38  
     /**
 39  
      * Constructs a new <code>VelocityEmailException</code> without specified
 40  
      * detail message.
 41  
      */
 42  
     public VelocityEmailException()
 43  
     {
 44  0
         super();
 45  0
     }
 46  
 
 47  
     /**
 48  
      * Constructs a new <code>VelocityEmailException</code> with specified
 49  
      * detail message.
 50  
      *
 51  
      * @param msg The error message.
 52  
      */
 53  
     public VelocityEmailException(String msg)
 54  
     {
 55  0
         super(msg);
 56  0
     }
 57  
 
 58  
     /**
 59  
      * Constructs a new <code>VelocityEmailException</code> with specified
 60  
      * nested <code>Throwable</code>.
 61  
      *
 62  
      * @param nested The exception or error that caused this exception
 63  
      *               to be thrown.
 64  
      */
 65  
     public VelocityEmailException(Throwable nested)
 66  
     {
 67  0
         super(nested);
 68  0
     }
 69  
 
 70  
     /**
 71  
      * Constructs a new <code>VelocityEmailException</code> with specified
 72  
      * detail message and nested <code>Throwable</code>.
 73  
      *
 74  
      * @param msg    The error message.
 75  
      * @param nested The exception or error that caused this exception
 76  
      *               to be thrown.
 77  
      */
 78  
     public VelocityEmailException(String msg, Throwable nested)
 79  
     {
 80  0
         super(msg, nested);
 81  0
     }
 82  
 }