KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sape > carbon > services > security > management > DuplicateGroupException


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.security.management;
19
20 import java.security.acl.Group JavaDoc;
21
22 /**
23  * Thrown when the manager is attempting to add a group that already
24  * exists.
25  *
26  * <p>
27  * Copyright 2002 Sapient
28  * </p>
29  *
30  * @author $Author: dvoet $ $Date: 2003/10/28 19:02:00 $
31  * @version $Revision: 1.7 $
32  *
33  * @stereotype exception
34  * @since carbon 1.2
35  */

36 public class DuplicateGroupException extends DuplicatePrincipalException {
37     /**
38      * Constructor for DuplicateGroupException.
39      *
40      * @param sourceClass the source class of this exception
41      * @param group group object which already exists
42      * @param message a message describing this failure
43      */

44     public DuplicateGroupException(
45         Class JavaDoc sourceClass, Group JavaDoc group) {
46         super(sourceClass, group);
47     }
48
49     /**
50      * Constructor for DuplicateGroupException.
51      *
52      * @param sourceClass the source class of this exception
53      * @param group group object which already exists
54      * @param message a message describing this failure
55      * @param cause the exception that caused this failure
56      */

57     public DuplicateGroupException(
58         Class JavaDoc sourceClass, Group JavaDoc group, Throwable JavaDoc cause) {
59         super(sourceClass, group, cause);
60     }
61 }
62
Popular Tags