1/*2 * $Id: RendererException.java 630422 2008-02-23 11:20:20Z apetrelli $3 *4 * Licensed to the Apache Software Foundation (ASF) under one5 * or more contributor license agreements. See the NOTICE file6 * distributed with this work for additional information7 * regarding copyright ownership. The ASF licenses this file8 * to you under the Apache License, Version 2.0 (the9 * "License"); you may not use this file except in compliance10 * with the License. You may obtain a copy of the License at11 *12 * http://www.apache.org/licenses/LICENSE-2.013 *14 * Unless required by applicable law or agreed to in writing,15 * software distributed under the License is distributed on an16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY17 * KIND, either express or implied. See the License for the18 * specific language governing permissions and limitations19 * under the License.20 */21package org.apache.tiles.renderer;
2223import org.apache.tiles.TilesException;
2425/***26 * Exception for attribute rendition events.27 *28 * @version $Rev: 630422 $ $Date: 2008-02-23 12:20:20 +0100 (sab, 23 feb 2008) $29 * @since 2.1.030 */31publicclassRendererExceptionextends TilesException {
3233/***34 * Constructor.35 *36 * @since 2.1.037 */38publicRendererException() {
39 }
4041/***42 * Constructor.43 *44 * @param message The error or warning message.45 * @since 2.1.046 */47publicRendererException(String message) {
48super(message);
49 }
5051/***52 * Create a new <code>RendererException</code> wrapping an existing53 * exception. <p/>54 * <p>55 * The existing exception will be embedded in the new one, and its message56 * will become the default message for the TilesException.57 * </p>58 *59 * @param e The exception to be wrapped.60 * @since 2.1.061 */62publicRendererException(Exception e) {
63super(e);
64 }
6566/***67 * Create a new <code>RendererException</code> from an existing exception.68 * <p/>69 * <p>70 * The existing exception will be embedded in the new one, but the new71 * exception will have its own message.72 * </p>73 *74 * @param message The detail message.75 * @param e The exception to be wrapped.76 * @since 2.1.077 */78publicRendererException(String message, Exception e) {
79super(message, e);
80 }
81 }