KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > registry > RegistryException


1 /*
2  * $Id: RegistryException.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.registry;
12
13 import org.mule.config.i18n.Message;
14 import org.mule.umo.UMOException;
15
16 /**
17  * Base Registry exception thrown when reading or writing to the registry
18  *
19  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
20  * @version $Revision: 3798 $
21  */

22 public class RegistryException extends UMOException
23 {
24     /**
25      * Serial version
26      */

27     private static final long serialVersionUID = 7362073316934744362L;
28
29     public RegistryException(Message message)
30     {
31         super(message);
32     }
33
34     public RegistryException(Message message, Throwable JavaDoc throwable)
35     {
36         super(message, throwable);
37     }
38
39     public RegistryException(Throwable JavaDoc throwable)
40     {
41         super(throwable);
42     }
43
44     // TODO remove
45
public RegistryException(String JavaDoc message)
46     {
47         super(Message.createStaticMessage(message));
48     }
49
50     public RegistryException(String JavaDoc message, Throwable JavaDoc throwable)
51     {
52         super(Message.createStaticMessage(message), throwable);
53     }
54 }
55
Popular Tags