1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package org.apache.tiles.definition;
24
25 import org.apache.tiles.TilesException;
26
27 /***
28 * Exception thrown when an error occurs while the impl tries to
29 * create a new instance mapper.
30 *
31 * @version $Rev: 585406 $ $Date: 2007-10-17 10:16:42 +0200 (Wed, 17 Oct 2007) $
32 */
33 public class DefinitionsFactoryException extends TilesException {
34 /***
35 * Constructor.
36 */
37 public DefinitionsFactoryException() {
38 super();
39 }
40
41 /***
42 * Constructor.
43 *
44 * @param message The error or warning message.
45 */
46 public DefinitionsFactoryException(String message) {
47 super(message);
48 }
49
50
51 /***
52 * Create a new <code>DefinitionsFactoryException</code> wrapping an existing exception.
53 * <p/>
54 * <p>The existing exception will be embedded in the new
55 * one and its message will become the default message for
56 * the DefinitionsFactoryException.</p>
57 *
58 * @param e The exception to be wrapped.
59 */
60 public DefinitionsFactoryException(Exception e) {
61 super(e);
62 }
63
64
65 /***
66 * Create a new <code>DefinitionsFactoryException</code> from an existing exception.
67 * <p/>
68 * <p>The existing exception will be embedded in the new
69 * one, but the new exception will have its own message.</p>
70 *
71 * @param message The detail message.
72 * @param e The exception to be wrapped.
73 */
74 public DefinitionsFactoryException(String message, Exception e) {
75 super(message, e);
76 }
77 }