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.renderer;
22
23 import org.apache.tiles.TilesException;
24
25 /***
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.0
30 */
31 public class RendererException extends TilesException {
32
33 /***
34 * Constructor.
35 *
36 * @since 2.1.0
37 */
38 public RendererException() {
39 }
40
41 /***
42 * Constructor.
43 *
44 * @param message The error or warning message.
45 * @since 2.1.0
46 */
47 public RendererException(String message) {
48 super(message);
49 }
50
51 /***
52 * Create a new <code>RendererException</code> wrapping an existing
53 * exception. <p/>
54 * <p>
55 * The existing exception will be embedded in the new one, and its message
56 * will become the default message for the TilesException.
57 * </p>
58 *
59 * @param e The exception to be wrapped.
60 * @since 2.1.0
61 */
62 public RendererException(Exception e) {
63 super(e);
64 }
65
66 /***
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 new
71 * 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.0
77 */
78 public RendererException(String message, Exception e) {
79 super(message, e);
80 }
81 }