KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > picocontainer > PicoIntrospectionException


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     public PicoIntrospectionException(final String JavaDoc message) {
30         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     protected PicoIntrospectionException(final Throwable JavaDoc cause) {
39         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     public PicoIntrospectionException(final String JavaDoc message, final Throwable JavaDoc cause) {
49         super(message,cause);
50     }
51 }
52
Popular Tags