Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
RegistryException |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: RegistryException.java 7976 2007-08-21 14:26:13Z dirk.olmes $ | |
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 CPAL v1.0 | |
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.config.i18n.MessageFactory; | |
15 | import org.mule.umo.UMOException; | |
16 | ||
17 | /** | |
18 | * Base Registry exception thrown when reading or writing to the registry | |
19 | * | |
20 | * @author <a href="mailto:ross.mason@symphonysoft.com">Ross Mason</a> | |
21 | * @version $Revision: 7976 $ | |
22 | */ | |
23 | public class RegistryException extends UMOException | |
24 | { | |
25 | /** | |
26 | * Serial version | |
27 | */ | |
28 | private static final long serialVersionUID = 7362073316934744362L; | |
29 | ||
30 | public RegistryException(Message message) | |
31 | { | |
32 | 0 | super(message); |
33 | 0 | } |
34 | ||
35 | public RegistryException(Message message, Throwable throwable) | |
36 | { | |
37 | 0 | super(message, throwable); |
38 | 0 | } |
39 | ||
40 | public RegistryException(Throwable throwable) | |
41 | { | |
42 | 0 | super(throwable); |
43 | 0 | } |
44 | ||
45 | // TODO remove | |
46 | public RegistryException(String message) | |
47 | { | |
48 | 0 | super(MessageFactory.createStaticMessage(message)); |
49 | 0 | } |
50 | ||
51 | public RegistryException(String message, Throwable throwable) | |
52 | { | |
53 | 0 | super(MessageFactory.createStaticMessage(message), throwable); |
54 | 0 | } |
55 | } |