1 /******************************************************************************** 2 * $Id: InitializationError.java 396 2007-09-11 12:39:05Z pgmjsd $ 3 * $Author: pgmjsd $ 4 * $Date: 2007-09-11 08:39:05 -0400 (Tue, 11 Sep 2007) $ 5 * 6 * Copyright 2002-2003 YAJUL Developers, Joshua Davis, Kent Vogel. 7 * 8 * Permission is hereby granted, free of charge, to any person obtaining a copy 9 * of this software and associated documentation files (the "Software"), to deal 10 * in the Software without restriction, including without limitation the rights 11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 * copies of the Software, and to permit persons to whom the Software is 13 * furnished to do so, subject to the following conditions: 14 * 15 * The above copyright notice and this permission notice shall be included in 16 * all copies or substantial portions of the Software. 17 * 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 * THE SOFTWARE. 25 * 26 ******************************************************************************/ 27 28 package org.yajul.util; 29 30 /*** 31 * Thrown when a class initializer encounters an unexpected state. 32 * User: jdavis 33 * Date: Jul 21, 2003 34 * Time: 1:41:47 PM 35 * @author jdavis 36 */ 37 public class InitializationError extends Error 38 { 39 /*** 40 * Default constructor. 41 */ 42 public InitializationError() 43 { 44 } 45 46 /*** 47 * Creates a new exception with no nested exception and the specified 48 * detail message. 49 * @param s the detail message. 50 */ 51 public InitializationError(String s) 52 { 53 super(s); 54 } 55 56 /*** 57 * Constructs a InitializationError with the specified Throwable as the 58 * nested exception. 59 * @param t an object of type Throwable 60 */ 61 public InitializationError(Throwable t) 62 { 63 super(t); 64 } 65 66 /*** 67 * Constructs a InitializationError with the specified detail message and 68 * the specified throwable as the nested exception. 69 * @param s the detail message. 70 * @param t an object of type Throwable 71 */ 72 public InitializationError(String s, Throwable t) 73 { 74 super(s, t); 75 } 76 }