|
|||||||||||||||||||
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 | |||||||||||||||
PicoIntrospectionException.java | - | 33.3% | 50% | 42.9% |
|
1 |
/*****************************************************************************
|
|
2 |
* Copyright (C) PicoContainer Organization. All rights reserved. *
|
|
3 |
* ------------------------------------------------------------------------- *
|
|
4 |
* The software in this package is published under the terms of the BSD *
|
|
5 |
* style license a copy of which has been included with this distribution in *
|
|
6 |
* the LICENSE.txt file. *
|
|
7 |
* *
|
|
8 |
* Original code by *
|
|
9 |
*****************************************************************************/
|
|
10 |
package org.picocontainer;
|
|
11 |
|
|
12 |
/**
|
|
13 |
* Subclass of {@link PicoException} that is thrown when there is a problem creating, providing or locating a component
|
|
14 |
* instance or a part of the PicoContainer API, for example, when a request for a component is ambiguous.
|
|
15 |
*
|
|
16 |
* @author Paul Hammant
|
|
17 |
* @author Aslak Hellesøy
|
|
18 |
* @version $Revision: 1.3 $
|
|
19 |
* @since 1.0
|
|
20 |
*/
|
|
21 |
public class PicoIntrospectionException extends PicoRegistrationException { |
|
22 |
/**
|
|
23 |
* Construct a new exception with no cause and no detail message. Note modern JVMs may still track the exception
|
|
24 |
* that caused this one.
|
|
25 |
*/
|
|
26 | 3 |
public PicoIntrospectionException() {
|
27 |
} |
|
28 |
|
|
29 |
/**
|
|
30 |
* Construct a new exception with no cause and the specified detail message. Note modern JVMs may still track the
|
|
31 |
* exception that caused this one.
|
|
32 |
*
|
|
33 |
* @param message the message detailing the exception.
|
|
34 |
*/
|
|
35 | 16 |
public PicoIntrospectionException(final String message) {
|
36 | 16 |
super(message);
|
37 |
} |
|
38 |
|
|
39 |
/**
|
|
40 |
* Construct a new exception with the specified cause and no detail message.
|
|
41 |
*
|
|
42 |
* @param cause the exception that caused this one.
|
|
43 |
*/
|
|
44 | 0 |
public PicoIntrospectionException(final Throwable cause) {
|
45 | 0 |
super(cause);
|
46 |
} |
|
47 |
|
|
48 |
/**
|
|
49 |
* Construct a new exception with the specified cause and the specified detail message.
|
|
50 |
*
|
|
51 |
* @param message the message detailing the exception.
|
|
52 |
* @param cause the exception that caused this one.
|
|
53 |
*/
|
|
54 | 0 |
public PicoIntrospectionException(final String message, final Throwable cause) {
|
55 | 0 |
super(message,cause);
|
56 |
} |
|
57 |
} |
|
58 |
|
|