Clover coverage report - picocontainer - 1.2-beta-1
Coverage timestamp: Sun May 29 2005 14:29:04 BST
file stats: LOC: 29   Methods: 1
NCLOC: 9   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
PicoVisitorTraversalException.java - 100% 100% 100%
coverage
 1    /*
 2    * Copyright (C) 2004 Joerg Schaible
 3    * Created on 06.10.2004 by joehni
 4    */
 5    package org.picocontainer.defaults;
 6   
 7    import org.picocontainer.PicoException;
 8    import org.picocontainer.PicoVisitor;
 9   
 10   
 11    /**
 12    * Exception for a PicoVisitor, that is dependent on a defined starting point of the traversal.
 13    * If the traversal is not initiated with a call of {@link PicoVisitor#traverse}
 14    *
 15    * @author joehni
 16    * @since 1.1
 17    */
 18    public class PicoVisitorTraversalException
 19    extends PicoException {
 20   
 21    /**
 22    * Construct the PicoVisitorTraversalException.
 23    *
 24    * @param visitor The visitor casing the exception.
 25    */
 26  2 public PicoVisitorTraversalException(PicoVisitor visitor) {
 27  2 super("Traversal for PicoVisitor of type " + visitor.getClass().getName() + " must start with the visitor's traverse method");
 28    }
 29    }