Clover coverage report - clover
Coverage timestamp: Sat Oct 8 2005 22:54:17 EDT
file stats: LOC: 27   Methods: 1
NCLOC: 23   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
EventExceptionHandler.java 0% 0% 0% 0%
coverage
 1   
 package abbot.script;
 2   
 
 3   
 import abbot.*;
 4   
 import abbot.util.EventDispatchExceptionHandler;
 5   
 
 6   
 public class EventExceptionHandler extends EventDispatchExceptionHandler {
 7  0
     protected void exceptionCaught(Throwable thr) {
 8  0
         if (thr.getClass().getName().
 9   
             equals(ExitException.class.getName())) {
 10  0
             Log.debug("Application attempted exit from the event "
 11   
                       + "dispatch thread, ignoring it");
 12  0
             Log.debug(thr);
 13   
         }
 14  0
         else if (thr instanceof NullPointerException
 15   
                  && Log.getStack(Log.FULL_STACK, thr).
 16   
                  indexOf("createHierarchyEvents") != -1) {
 17   
             // java 1.3 hierarchy listener bug, most likely
 18  0
             Log.debug("Apparent hierarchy NPE bug:\n"
 19   
                       + Log.getStack(Log.FULL_STACK, thr));
 20   
         }
 21   
         else {
 22  0
             Log.warn("Unexpected exception while dispatching events:");
 23  0
             Log.warn(thr);
 24   
         }
 25   
     }
 26   
 }
 27