KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sape > carbon > services > uniqueid > UniqueIDCreationException


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

17
18 package org.sape.carbon.services.uniqueid;
19
20
21 /**
22  * Exception thrown when a UniqueID cannot be created.
23  *
24  * Copyright 2002 Sapient
25  * @since carbon 1.0
26  * @author Douglas Voet, July 2002
27  * @version $Revision: 1.6 $($Author: dvoet $ / $Date: 2003/05/05 21:21:38 $)
28  */

29 public class UniqueIDCreationException
30     extends UniqueIDServiceException {
31
32     /**
33      * Constructor for UniqueIDCreationException.
34      *
35      * @param sourceClass The source class of this exception
36      * @param idName name of the id that was being processed when
37      * the exception is thrown.
38      * @param message string information relating to this exception
39      */

40     public UniqueIDCreationException(
41         Class JavaDoc sourceClass,
42         String JavaDoc idName,
43         String JavaDoc message) {
44
45         super(sourceClass, idName, message);
46     }
47
48     /**
49      * Constructor for UniqueIDCreationException.
50      *
51      * @param sourceClass The source class of this exception
52      * @param idName name of the id that was being processed when
53      * the exception is thrown.
54      * @param message string information relating to this exception
55      * @param cause a throwable that can be considered the cause
56      * of the current exception (used in levelizing exceptions)
57      */

58     public UniqueIDCreationException(
59         Class JavaDoc sourceClass,
60         String JavaDoc idName,
61         String JavaDoc message,
62         Throwable JavaDoc cause) {
63
64         super(sourceClass, idName, message, cause);
65     }
66
67 }
68
Popular Tags