KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sape > carbon > core > component > ComponentException


1 /* Generated by Together */
2
3 /*
4  * The contents of this file are subject to the Sapient Public License
5  * Version 1.0 (the "License"); you may not use this file except in compliance
6  * with the License. You may obtain a copy of the License at
7  * http://carbon.sf.net/License.html.
8  *
9  * Software distributed under the License is distributed on an "AS IS" basis,
10  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
11  * the specific language governing rights and limitations under the License.
12  *
13  * The Original Code is The Carbon Component Framework.
14  *
15  * The Initial Developer of the Original Code is Sapient Corporation
16  *
17  * Copyright (C) 2003 Sapient Corporation. All Rights Reserved.
18  */

19
20 package org.sape.carbon.core.component;
21
22 import org.sape.carbon.core.exception.BaseRuntimeException;
23 //import org.sape.carbon.core.exception.BaseException;
24

25 /**
26  * Levelized Exception describing all Exceptions throwable
27  * by the Component-infrastructure (a.k.a the container).
28  *
29  * Copyright 2002 Sapient
30  * @since carbon 1.0
31  * @author Chris Herron, January 2002
32  * @version $Revision: 1.11 $($Author: dvoet $ / $Date: 2003/05/05 21:21:11 $)
33  */

34
35 public abstract class ComponentException extends BaseRuntimeException {
36     /**
37      * Constructor for ComponentException.
38      * @param sourceClass the source class of this exception
39      * @param message a description of the reason for failure
40      */

41     public ComponentException(Class JavaDoc sourceClass, String JavaDoc message) {
42         super(sourceClass, message);
43     }
44
45     /**
46      * Constructor for ComponentException.
47      * @param sourceClass the source class of this exception
48      * @param message a description of the reason for failure
49      * @param cause the exception that caused this failure
50      */

51     public ComponentException(
52         Class JavaDoc sourceClass,
53         String JavaDoc message,
54         Throwable JavaDoc cause) {
55         super(sourceClass, message, cause);
56     }
57
58 }
59
Popular Tags