KickJava   Java API By Example, From Geeks To Geeks.

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


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 user whose username is already taken.
17  *
18  * @author Eric and Matt
19  */

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