01: package org.andromda.core.cartridge.template;
02:
03: /**
04: * Wraps any unexpected exception when using a Template instance.
05: *
06: * @see org.andromda.core.cartridge.template.Template
07: */
08: public class TemplateException extends RuntimeException {
09: /**
10: * Constructs an instance of TemplateException.
11: *
12: * @param parent
13: */
14: public TemplateException(Throwable parent) {
15: super (parent);
16: }
17:
18: /**
19: * Constructs an instance of TemplateException.
20: *
21: * @param message the exception message
22: */
23: public TemplateException(String message) {
24: super (message);
25: }
26:
27: /**
28: * Constructs an instance of TemplateException.
29: *
30: * @param message the exception message
31: * @param parent the parent exception
32: */
33: public TemplateException(String message, Throwable parent) {
34: super(message, parent);
35: }
36: }
|