1 package org.andromda.core.common;
2
3 /**
4 * Wraps any exception that occurs when configuring/processing a template object
5 *
6 * @see org.andromda.core.common.TemplateObject
7 */
8 public class TemplateObjectException
9 extends RuntimeException
10 {
11 private static final long serialVersionUID = 34L;
12
13 /**
14 * Constructs an instance of TemplateObjectException.
15 *
16 * @param parent the parent throwable
17 */
18 public TemplateObjectException(Throwable parent)
19 {
20 super(parent);
21 }
22
23 /**
24 * Constructs an instance of TemplateObjectException.
25 *
26 * @param message the exception message
27 */
28 public TemplateObjectException(String message)
29 {
30 super(message);
31 }
32
33 /**
34 * Constructs an instance of TemplateObjectException.
35 *
36 * @param message the exception message
37 * @param parent the parent throwable
38 */
39 public TemplateObjectException(
40 String message,
41 Throwable parent)
42 {
43 super(message, parent);
44 }
45 }