1 // Copyright (C) 2000 Paco Gomez 2 // Copyright (C) 2000, 2001, 2002, 2003, 2004 Philip Aston 3 // All rights reserved. 4 // 5 // This file is part of The Grinder software distribution. Refer to 6 // the file LICENSE which is part of The Grinder distribution for 7 // licensing details. The Grinder distribution is available on the 8 // Internet at http://grinder.sourceforge.net/ 9 // 10 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 11 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 12 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 14 // COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 15 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 16 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 17 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 18 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 19 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 20 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 21 // OF THE POSSIBILITY OF SUCH DAMAGE. 22 23 package net.grinder.engine.common; 24 25 import net.grinder.common.GrinderException; 26 27 28 /** 29 * Base for exceptions thrown by the engine. 30 * 31 * @author Philip Aston 32 */ 33 public class EngineException extends GrinderException { 34 /** 35 * Creates a new <code>EngineException</code> instance. 36 * 37 * @param s Message. 38 */ 39 public EngineException(String s) { 40 super(s); 41 } 42 43 /** 44 * Creates a new <code>EngineException</code> instance. 45 * 46 * @param s Message. 47 * @param t Nested <code>Throwable</code>. 48 */ 49 public EngineException(String s, Throwable t) { 50 super(s, t); 51 } 52 }