KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > plugins > PluginException


1 package org.objectweb.celtix.plugins;
2
3 import org.objectweb.celtix.common.i18n.Exception;
4 import org.objectweb.celtix.common.i18n.Message;
5
6 /**
7  * Used to indicate an exception when managing a plugin object.
8  */

9 public class PluginException extends Exception JavaDoc {
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 JavaDoc cause) {
25         super(msg, cause);
26     }
27 }
28
Popular Tags