Clover coverage report - CRISPY - 1.1.1
Coverage timestamp: Mi Nov 15 2006 13:09:46 CET
file stats: LOC: 40   Methods: 4
NCLOC: 22   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
InvocationException.java 100% 100% 100% 100%
coverage
 1    /*
 2    * Created on 29.04.2005 from Linke
 3    *
 4    */
 5    package net.sf.crispy;
 6   
 7   
 8    /**
 9    * Is thrown, if is a problem with the creation or invocation a service.
 10    *
 11    * @author Linke
 12    *
 13    */
 14    public class InvocationException extends RuntimeException {
 15   
 16    private static final long serialVersionUID = 19283497239847238L;
 17    private ExceptionWrapper exceptionWrapper = null;
 18   
 19  54 public InvocationException(String pvMsg) {
 20  54 super(pvMsg);
 21    }
 22   
 23  39 public InvocationException(String pvMsg, Throwable pvCause) {
 24  39 super(pvMsg, pvCause);
 25    }
 26   
 27  17 public InvocationException(ExceptionWrapper pvExceptionWrapper) {
 28  17 super(pvExceptionWrapper.getMessage());
 29  17 exceptionWrapper = pvExceptionWrapper;
 30    }
 31   
 32  2 public void printStackTrace() {
 33  2 if (exceptionWrapper == null) {
 34  1 super.printStackTrace();
 35    } else {
 36  1 exceptionWrapper.printStackTrace();
 37    }
 38    }
 39   
 40    }