|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. 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 | |||||||||||||||
PicoVisitorTraversalException.java | - | 100% | 100% | 100% |
|
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 |
} |
|
30 |
|
|