Clover coverage report -
Coverage timestamp: Do Okt 21 2004 12:21:23 CEST
file stats: LOC: 51   Methods: 6
NCLOC: 24   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
MockErrorHandler.java - 0% 0% 0%
coverage
 1    /*
 2    * Created on 28.06.2004
 3    * Created by crappy eclipse.
 4    */
 5    package org.jconfig.error;
 6   
 7    /**
 8    * @author Mecky
 9    * shoot me because I am using eclipse
 10    */
 11    public class MockErrorHandler implements ErrorHandler {
 12   
 13    private String msg;
 14    private Throwable thrown;
 15   
 16  0 public MockErrorHandler() {
 17   
 18    }
 19    /* (non-Javadoc)
 20    * @see org.jconfig.error.ErrorHandler#reportError(java.lang.String)
 21    */
 22  0 public void reportError(String message) {
 23  0 reportError(message,null);
 24    }
 25   
 26    /* (non-Javadoc)
 27    * @see org.jconfig.error.ErrorHandler#reportError(java.lang.String, java.lang.Throwable)
 28    */
 29  0 public void reportError(String message, Throwable thrown) {
 30  0 msg = message;
 31  0 this.thrown = thrown;
 32   
 33    }
 34   
 35  0 public void reset() {
 36  0 msg = null;
 37  0 thrown = null;
 38    }
 39    /**
 40    * @return Returns the msg.
 41    */
 42  0 public String getMsg() {
 43  0 return msg;
 44    }
 45    /**
 46    * @return Returns the thrown.
 47    */
 48  0 public Throwable getThrown() {
 49  0 return thrown;
 50    }
 51    }