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    package org.picocontainer.lifecycle;
009    
010    import org.picocontainer.PicoException;
011    
012    /**
013     * Subclass of {@link PicoException} that is thrown when there is a problem 
014     * invoking lifecycle methods via reflection.
015     * 
016     * @author Paul Hammant
017     * @author Mauro Talevi
018     */
019    public class ReflectionLifecycleException extends PicoException {
020    
021        /**
022         * Construct a new exception with the specified cause and the specified detail message.
023         *
024         * @param message the message detailing the exception.
025         * @param cause   the exception that caused this one.
026         */
027        protected ReflectionLifecycleException(final String message, final Throwable cause) {
028            super(message, cause);
029        }
030        
031    }