org.picocontainer.script.bsh.BeanShellScriptCompositionException Maven / Gradle / Ivy
/*****************************************************************************
* Copyright (C) PicoContainer Organization. All rights reserved. *
* ------------------------------------------------------------------------- *
* The software in this package is published under the terms of the BSD *
* style license a copy of which has been included with this distribution in *
* the LICENSE.txt file. *
* *
* Original code by Leo Simons *
*****************************************************************************/
package org.picocontainer.script.bsh;
import org.picocontainer.PicoCompositionException;
/**
* @author Leo Simons
*/
@SuppressWarnings("serial")
public class BeanShellScriptCompositionException
extends PicoCompositionException
{
BeanShellScriptCompositionException(String message) {
super(message);
}
BeanShellScriptCompositionException(Throwable cause) {
this("BeanShellScriptCompositionException: " + cause.getClass().getName() + " "
+ cause.getMessage());
}
}