1 package org.andromda.core.cartridge.template;
2
3
4 /***
5 * Wraps any unexpected exception when using a Template instance.
6 *
7 * @see org.andromda.core.cartridge.template.Template
8 */
9 public class TemplateException
10 extends RuntimeException
11 {
12 /***
13 * Constructs an instance of TemplateException.
14 *
15 * @param parent
16 */
17 public TemplateException(Throwable parent)
18 {
19 super(parent);
20 }
21
22 /***
23 * Constructs an instance of TemplateException.
24 *
25 * @param message the exception message
26 */
27 public TemplateException(String message)
28 {
29 super(message);
30 }
31
32 /***
33 * Constructs an instance of TemplateException.
34 *
35 * @param message the exception message
36 * @param parent the parent exception
37 */
38 public TemplateException(
39 String message,
40 Throwable parent)
41 {
42 super(message, parent);
43 }
44 }