Coverage report

  %line %branch
org.apache.turbine.util.SystemError
0% 
0% 

 1  
 package org.apache.turbine.util;
 2  
 
 3  
 /*
 4  
  * Copyright 2001-2004 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.commons.lang.exception.NestableError;
 20  
 
 21  
 /**
 22  
  * Used for wrapping system errors (exceptions) that may occur in the
 23  
  * application.
 24  
  *
 25  
  * @author <a href="mailto:neeme@one.lv">Neeme Praks</a>
 26  
  * @author <a href="mailto:quintonm@bellsouth.net">Quinton McCombs</a>
 27  
  * @version $Id: SystemError.java,v 1.4.2.2 2004/05/20 03:16:38 seade Exp $
 28  
  */
 29  
 public class SystemError extends NestableError
 30  
 {
 31  
     /**
 32  
      * Constructor.
 33  
      *
 34  
      * @param cause A Throwable object
 35  
      */
 36  
     public SystemError(Throwable cause)
 37  
     {
 38  0
         super(cause);
 39  0
     }
 40  
 
 41  
     /**
 42  
      * Constructor.
 43  
      *
 44  
      * @param message Error message
 45  
      */
 46  
     public SystemError(String message)
 47  
     {
 48  0
         super(message);
 49  0
     }
 50  
 
 51  
     /**
 52  
      * Constructor.
 53  
      *
 54  
      * @param cause A Throwable object
 55  
      * @param message A String.
 56  
      * @deprecated Use SystemError(String,Throwable) instead.
 57  
      */
 58  
     public SystemError(Throwable cause, String message)
 59  
     {
 60  0
         super(message, cause);
 61  0
     }
 62  
 
 63  
     /**
 64  
      * Constructor.
 65  
      *
 66  
      * @param cause A Throwable object
 67  
      * @param message A String.
 68  
      */
 69  
     public SystemError(String message, Throwable cause)
 70  
     {
 71  0
         super(message, cause);
 72  0
     }
 73  
 
 74  
     /**
 75  
      * Constructor.
 76  
      *
 77  
      * @param cause A Throwable object
 78  
      * @param returnCode A long.
 79  
      * @deprecated No replacement
 80  
      */
 81  
     public SystemError(Throwable cause, long returnCode)
 82  
     {
 83  0
         super("Return code = " + Long.toString(returnCode), cause);
 84  0
     }
 85  
 
 86  
 }

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