Coverage report

  %line %branch
org.apache.turbine.util.velocity.VelocityEmailException
0% 
0% 

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

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.