01: package org.objectweb.celtix.plugins;
02:
03: import org.objectweb.celtix.common.i18n.Exception;
04: import org.objectweb.celtix.common.i18n.Message;
05:
06: /**
07: * Used to indicate an exception when managing a plugin object.
08: */
09: public class PluginException extends Exception {
10:
11: private static final long serialVersionUID = 1L;
12:
13: /**
14: * Constructs a <code>PluginException</code> with the given detail message.
15: */
16: public PluginException(Message msg) {
17: super (msg);
18: }
19:
20: /**
21: * Constructs a <code>PluginException</code> with the given detail message
22: * and cause.
23: */
24: public PluginException(Message msg, Throwable cause) {
25: super(msg, cause);
26: }
27: }
|