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    @SuppressWarnings("serial")
020    public class ReflectionLifecycleException extends PicoException {
021    
022      
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         */
029        protected ReflectionLifecycleException(final String message, final Throwable cause) {
030            super(message, cause);
031        }
032        
033    }