Clover coverage report - angkor - 0.4
Coverage timestamp: ti okt 15 2002 22:32:48 CEST
file stats: LOC: 33   Methods: 1
NCLOC: 16   Classes: 1
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
ErrorValve.java - 100% 100% 100%
 1   
 /*
 2   
  * Angkor Web Framework
 3   
  *
 4   
  * Distributable under LGPL license.
 5   
  * See terms of license at gnu.org.
 6   
  */
 7   
 package com.tirsen.angkor.process;
 8   
 
 9   
 import com.tirsen.angkor.Application;
 10   
 
 11   
 /**
 12   
  * TODO document ErrorValve
 13   
  *
 14   
  * <!-- $Id: ErrorValve.java,v 1.1 2002/10/13 13:37:26 tirsen Exp $ -->
 15   
  *
 16   
  * @author $Author: tirsen $
 17   
  * @version $Revision: 1.1 $
 18   
  */
 19   
 public class ErrorValve implements Valve
 20   
 {
 21  6
     public void execute(ExecuteContext exec)
 22   
     {
 23  6
         try
 24   
         {
 25  6
             exec.executeNext();
 26   
         }
 27   
         catch (Exception e)
 28   
         {
 29  1
             ((Application) exec.getAttribute(ExecuteContext.ApplicationAttribute)).handleError(e);
 30   
         }
 31   
     }
 32   
 }
 33