Clover coverage report - groovy - 1.0-beta-7
Coverage timestamp: Wed Sep 29 2004 16:55:52 BST
file stats: LOC: 41   Methods: 5
NCLOC: 33   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
GroovyBugError.java 0% 0% 0% 0%
coverage
 1   
 package org.codehaus.groovy;
 2   
 
 3   
 public class GroovyBugError extends AssertionError
 4   
 {
 5   
     private String    message;
 6   
     private Exception exception;
 7   
 
 8  0
     public GroovyBugError( String message )
 9   
     {
 10  0
         this.message = message;
 11   
     }
 12   
     
 13  0
     public GroovyBugError( Exception exception )
 14   
     {
 15  0
         this.exception = exception;
 16   
     }
 17   
 
 18  0
     public String toString()
 19   
     {
 20  0
         return getMessage();
 21   
     }
 22   
 
 23  0
     public String getMessage()
 24   
     {
 25  0
         if( message != null )
 26   
         {
 27  0
             return message;
 28   
         }
 29   
         else
 30   
         {
 31  0
             return "UNCAUGHT EXCEPTION: " + exception.getMessage();
 32   
         }
 33   
     }
 34   
     
 35   
     
 36  0
     public Throwable getCause()
 37   
     {
 38  0
         return this.exception;
 39   
     }
 40   
 }
 41