001    /*****************************************************************************
002     * Copyright (c) PicoContainer Organization. All rights reserved.            *
003     * ------------------------------------------------------------------------- *
004     * The software in this package is published under the terms of the BSD      *
005     * style license a copy of which has been included with this distribution in *
006     * the LICENSE.txt file.                                                     *
007     *                                                                           *
008     * Idea by Rachel Davies, Original code by Aslak Hellesoy and Paul Hammant   *
009     *****************************************************************************/
010    
011    package org.picocontainer;
012    
013    
014    /**
015     * Subclass of {@link PicoException} that is thrown when there is a problem creating an instance of a container or some
016     * other part of the PicoContainer api, for example, when an invocation through the reflection api fails.
017     * 
018     * @version $Revision$
019     * @since 1.0
020     * @deprecated since 1.2; it was actually not instantiated anywhere
021     */
022    public class PicoInstantiationException extends PicoInitializationException {
023        /**
024         * Construct a new exception with the specified cause and the specified detail message.
025         *
026         * @param message the message detailing the exception.
027         * @param cause   the exception that caused this one.
028         * @deprecated since 1.2; it was actually not instantiated anywhere
029         */
030        protected PicoInstantiationException(final String message, final Throwable cause) {
031            super(message, cause);
032        }
033    }