KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > users > DuplicateGroupException


1 /*
2 Copyright (c) 2003 eInnovation Inc. All rights reserved
3
4 This library is free software; you can redistribute it and/or modify it under the terms
5 of the GNU Lesser General Public License as published by the Free Software Foundation;
6 either version 2.1 of the License, or (at your option) any later version.
7
8 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the GNU Lesser General Public License for more details.
11 */

12
13 package com.openedit.users;
14
15 /**
16  * This exception is thrown when one attempts to create a group with a name that is already taken
17  * by an existing group.
18  *
19  * @author Eric Galluzzo
20  */

21 public class DuplicateGroupException extends UserManagerException
22 {
23     public DuplicateGroupException()
24     {
25         super();
26     }
27
28     public DuplicateGroupException(String JavaDoc message)
29     {
30         super(message);
31     }
32
33     public DuplicateGroupException(String JavaDoc message, Throwable JavaDoc cause)
34     {
35         super(message, cause);
36     }
37
38     public DuplicateGroupException(Throwable JavaDoc cause)
39     {
40         super(cause);
41     }
42 }
43
Popular Tags