1/*2 * $Id: TilesIOException.java 619578 2008-02-07 19:16:16Z 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.util;
2223import java.io.IOException;
2425/***26 * This exception mimics the {@link IOException} class that is present in Java 627 * but not in Java 5. It contains the same number of constructors.28 *29 * @version $Rev: 619578 $ $Date: 2008-02-07 20:16:16 +0100 (gio, 07 feb 2008) $30 * @since 2.0.631 */32publicclassTilesIOExceptionextends IOException {
3334/***35 * Default constructor.36 * @since 2.0.637 */38publicTilesIOException() {
39 }
4041/***42 * Constructor.43 *44 * @param message Message of the exception.45 * @since 2.0.646 */47publicTilesIOException(String message) {
48super(message);
49 }
5051/***52 * Constructor.53 *54 * @param cause The cause of the exception.55 * @since 2.0.656 */57publicTilesIOException(Throwable cause) {
58super();
59this.initCause(cause);
60 }
6162/***63 * Constructor.64 *65 * @param message Message of the exception.66 * @param cause The cause of the exception.67 * @since 2.0.668 */69publicTilesIOException(String message, Throwable cause) {
70super(message);
71this.initCause(cause);
72 }
73 }