1 package org.andromda.core.common;
2
3 /**
4 * This exception is thrown when an unexpected exception occurs when plugin processing occurs.
5 *
6 * @author Chad Brandon
7 */
8 public class PluginException
9 extends RuntimeException
10 {
11 private static final long serialVersionUID = 34L;
12
13 /**
14 * Constructor for PluginException.
15 *
16 * @param message the exception message
17 */
18 public PluginException(String message)
19 {
20 super(message);
21 }
22
23 /**
24 * Constructor for PluginException.
25 *
26 * @param message the exception message
27 * @param parent the parent throwable
28 */
29 public PluginException(
30 String message,
31 Throwable parent)
32 {
33 super(message, parent);
34 }
35
36 /**
37 * Constructor for PluginException.
38 *
39 * @param parent the parent throwable
40 */
41 public PluginException(Throwable parent)
42 {
43 super(parent);
44 }
45 }