|
|||||||||||||||||||
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 | - | 100% | 100% | 100% |
|
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 PicoException { |
|
22 |
|
|
23 |
/**
|
|
24 |
* Construct a new exception with no cause and the specified detail message. Note modern JVMs may still track the
|
|
25 |
* exception that caused this one.
|
|
26 |
*
|
|
27 |
* @param message the message detailing the exception.
|
|
28 |
*/
|
|
29 | 152 |
public PicoIntrospectionException(final String message) {
|
30 | 152 |
super(message);
|
31 |
} |
|
32 |
|
|
33 |
/**
|
|
34 |
* Construct a new exception with the specified cause and no detail message.
|
|
35 |
*
|
|
36 |
* @param cause the exception that caused this one.
|
|
37 |
*/
|
|
38 | 24 |
protected PicoIntrospectionException(final Throwable cause) {
|
39 | 24 |
super(cause);
|
40 |
} |
|
41 |
|
|
42 |
/**
|
|
43 |
* Construct a new exception with the specified cause and the specified detail message.
|
|
44 |
*
|
|
45 |
* @param message the message detailing the exception.
|
|
46 |
* @param cause the exception that caused this one.
|
|
47 |
*/
|
|
48 | 10 |
public PicoIntrospectionException(final String message, final Throwable cause) {
|
49 | 10 |
super(message,cause);
|
50 |
} |
|
51 |
} |
|
52 |
|
|