|
|||||||||||||||||||
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 | |||||||||||||||
NoArgumentForSetterException.java | - | 0% | 0% | 0% |
|
1 |
package picocontainer.extras;
|
|
2 |
|
|
3 |
import picocontainer.PicoIntrospectionException;
|
|
4 |
|
|
5 |
import java.lang.reflect.Method;
|
|
6 |
|
|
7 |
/**
|
|
8 |
*
|
|
9 |
* @author Aslak Hellesøy
|
|
10 |
* @version $Revision: 1.2 $
|
|
11 |
*/
|
|
12 |
public class NoArgumentForSetterException extends PicoIntrospectionException { |
|
13 |
private Method setter;
|
|
14 |
|
|
15 | 0 |
public NoArgumentForSetterException(Method setter) {
|
16 | 0 |
this.setter = setter;
|
17 |
} |
|
18 |
|
|
19 | 0 |
public String getMessage() {
|
20 | 0 |
return "No appropriate argument for " + setter.toString(); |
21 |
} |
|
22 |
} |
|
23 |
|
|