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 * Idea by Rachel Davies, Original code by Aslak Hellesoy and Paul Hammant * 9 *****************************************************************************/ 10 11 package org.picocontainer; 12 13 14 /** 15 * Subclass of {@link PicoException} that is thrown when there is a problem creating an instance of a container or some 16 * other part of the PicoContainer api, for example, when an invocation through the reflection api fails. 17 * 18 * @version $Revision$ 19 * @since 1.0 20 */ 21 public class PicoInstantiationException extends PicoInitializationException { 22 /** 23 * Construct a new exception with the specified cause and the specified detail message. 24 * 25 * @param message the message detailing the exception. 26 * @param cause the exception that caused this one. 27 */ 28 protected PicoInstantiationException(final String message, final Throwable cause) { 29 super(message, cause); 30 } 31 } 32