KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sape > carbon > services > carbonmanagement > ComponentNotFoundException


1 package org.sape.carbon.services.carbonmanagement;
2
3 /**
4  * Thrown when a component is not found in a call to loadComponent.
5  *
6  * <br>Copyright 2002 Sapient
7  * @since carbon 1.2
8  * @author Douglas Voet, Dec 19, 2002
9  * @version $Revision: 1.5 $($Author: jreed $ / $Date: 2003/04/15 18:53:53 $)
10  */

11 public class ComponentNotFoundException
12     extends CarbonManagementServiceException {
13
14     /**
15      * Constructor for ComponentNotFoundException.
16      *
17      * @param sourceClass The source class of this exception
18      * @param message string information relating to this exception
19      */

20     public ComponentNotFoundException(Class JavaDoc sourceClass, String JavaDoc message) {
21         super(sourceClass, message);
22     }
23
24     /**
25      * Constructor for ComponentNotFoundException.
26      *
27      * @param sourceClass The source class of this exception
28      * @param message string information relating to this exception
29      * @param cause a throwable that can be considered the cause
30      * of the current exception (used in levelizing exceptions)
31      */

32     public ComponentNotFoundException(
33         Class JavaDoc sourceClass,
34         String JavaDoc message,
35         Throwable JavaDoc cause) {
36         super(sourceClass, message, cause);
37     }
38
39 }
40
Popular Tags