    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     * Original code by Centerline Computers, Inc.                               *
    009     *****************************************************************************/
    010    package org.picocontainer.gems.util;
    011
    012    import org.picocontainer.PicoException;
    013
    014    /**
    015     * Runtime Exception version of
    016     * {@link java.lang.reflect.InvocationTargetException}.
    017     *
    018     * @author Michael Rimov
    019     */
    020    @SuppressWarnings("serial")
    021    public class InvocationTargetRuntimeException extends PicoException {
    022
    023
    024            /**
    025             *
    026             */
    027            public InvocationTargetRuntimeException() {
    028                    super();
    029            }
    030
    031            /**
    032             * @param message
    033             */
    034            public InvocationTargetRuntimeException(final String message) {
    035                    super(message);
    036            }
    037
    038            /**
    039             * @param cause
    040             */
    041            public InvocationTargetRuntimeException(final Throwable cause) {
    042                    super(cause);
    043            }
    044
    045            /**
    046             * @param message
    047             * @param cause
    048             */
    049            public InvocationTargetRuntimeException(final String message,
    050                            final Throwable cause) {
    051                    super(message, cause);
    052            }
    053
    054    }