001package org.apache.turbine.services; 002 003 004/* 005 * Licensed to the Apache Software Foundation (ASF) under one 006 * or more contributor license agreements. See the NOTICE file 007 * distributed with this work for additional information 008 * regarding copyright ownership. The ASF licenses this file 009 * to you under the Apache License, Version 2.0 (the 010 * "License"); you may not use this file except in compliance 011 * with the License. You may obtain a copy of the License at 012 * 013 * http://www.apache.org/licenses/LICENSE-2.0 014 * 015 * Unless required by applicable law or agreed to in writing, 016 * software distributed under the License is distributed on an 017 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 018 * KIND, either express or implied. See the License for the 019 * specific language governing permissions and limitations 020 * under the License. 021 */ 022 023 024import org.apache.turbine.util.TurbineException; 025 026/** 027 * Thrown by <code>Initable</code> class in case of initialization 028 * problems. 029 * 030 * @author <a href="mailto:burton@apache.org">Kevin Burton</a> 031 * @author <a href="mailto:krzewski@e-point.pl">Rafal Krzewski</a> 032 * @version $Id$ 033 * @see org.apache.turbine.services.Initable 034 */ 035public class InitializationException extends TurbineException 036{ 037 /** 038 * Serial version. 039 */ 040 private static final long serialVersionUID = 974475242666061904L; 041 042 /** 043 * Construct an InitializationException with specified detail message. 044 * 045 * @param msg The detail message. 046 */ 047 public InitializationException(String msg) 048 { 049 super(msg); 050 } 051 052 /** 053 * Construct an InitializationException with specified detail message 054 * and nested Throwable. 055 * 056 * @param msg The detail message. 057 * @param t the exception or error that caused this exception 058 * to be thrown. 059 */ 060 public InitializationException(String msg, Throwable t) 061 { 062 super(msg, t); 063 } 064}