    001    /*****************************************************************************
    002     * Copyright (C) NanoContainer 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 Leo Simons                                               *
    009     *****************************************************************************/
    010    package org.nanocontainer.script.bsh;
    011
    012    import org.picocontainer.PicoInitializationException;
    013
    014    /**
    015     * @author <a href="mail at leosimons dot com">Leo Simons</a>
    016     * @version $Id: BeanShellScriptInitializationException.java 3144 2006-12-26 10:12:19Z mauro $
    017     */
    018    public class BeanShellScriptInitializationException
    019            extends PicoInitializationException {
    020
    021        BeanShellScriptInitializationException(String message) {
    022            super(message);
    023        }
    024
    025        BeanShellScriptInitializationException(Throwable cause) {
    026            this("BeanShellScriptInitializationException: " + cause.getClass().getName() + " "
    027                    + cause.getMessage());
    028        }
    029    }