KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensugar > cube > serviceRegistry > ServiceRegistryException


1 /*
2  * JEFFREE: Java(TM) Embedded Framework FREE
3  * Copyright (C) 1999-2003 - Opensugar
4  *
5  * The contents of this file are subject to the Jeffree Public License,
6  * as defined by the file JEFFREE_LICENSE.TXT
7  *
8  * You may not use this file except in compliance with the License.
9  * You may obtain a copy of the License on the Objectweb web site
10  * (www.objectweb.org).
11  *
12  * Software distributed under the License is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
14  * the specific terms governing rights and limitations under the License.
15  *
16  * The Original Code is JEFFREE, including the java package com.opensugar.cube,
17  * released January 1, 2003.
18  *
19  * The Initial Developer of the Original Code is Opensugar.
20  * The Original Code is Copyright Opensugar.
21  * All Rights Reserved.
22  *
23  * Initial developer(s): Pierre Scokaert (Opensugar)
24  * Contributor(s):
25  */

26
27 package com.opensugar.cube.serviceRegistry;
28
29 // An exception that is thrown by the service registry when something goes wrong
30
// during the creation of the service object for a user bundle.
31
public class ServiceRegistryException extends Exception JavaDoc {
32
33    private Throwable JavaDoc nestedException;
34
35    public ServiceRegistryException( String JavaDoc message ) {
36       super( message );
37    }
38
39    public ServiceRegistryException( String JavaDoc message, Throwable JavaDoc nestedException ) {
40       this( message );
41       this.nestedException = nestedException;
42    }
43
44    protected Throwable JavaDoc getNestedException() {
45       return nestedException;
46    }
47
48 }
Popular Tags