1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.apache.tiles.util;
22
23 import java.io.IOException;
24
25 /***
26 * This exception mimics the {@link IOException} class that is present in Java 6
27 * but not in Java 5. It contains the same number of constructors.
28 *
29 * @version $Rev: 619574 $ $Date: 2008-02-07 20:09:33 +0100 (Thu, 07 Feb 2008) $
30 * @since 2.0.6
31 */
32 public class TilesIOException extends IOException {
33
34 /***
35 * Default constructor.
36 * @since 2.0.6
37 */
38 public TilesIOException() {
39 }
40
41 /***
42 * Constructor.
43 *
44 * @param message Message of the exception.
45 * @since 2.0.6
46 */
47 public TilesIOException(String message) {
48 super(message);
49 }
50
51 /***
52 * Constructor.
53 *
54 * @param cause The cause of the exception.
55 * @since 2.0.6
56 */
57 public TilesIOException(Throwable cause) {
58 super();
59 this.initCause(cause);
60 }
61
62 /***
63 * Constructor.
64 *
65 * @param message Message of the exception.
66 * @param cause The cause of the exception.
67 * @since 2.0.6
68 */
69 public TilesIOException(String message, Throwable cause) {
70 super(message);
71 this.initCause(cause);
72 }
73 }