KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > util > AlreadyExistsException


1 /**
2  * $RCSfile: AlreadyExistsException.java,v $
3  * $Revision: 1.2 $
4  * $Date: 2004/10/21 07:28:12 $
5  *
6  * Copyright (C) 2004 Jive Software. All rights reserved.
7  *
8  * This software is published under the terms of the GNU Public License (GPL),
9  * a copy of which is included in this distribution.
10  */

11
12 package org.jivesoftware.util;
13
14 /**
15  * <p>Flags an exception when something to be created or added already exists.</p>
16  * <p>Use this class when it's not worth creating a unique
17  * xAlreadyExistsException class, or where the context of
18  * the call makes it obvious what type of object was not found.</p>
19  *
20  * @author Iain Shigeoka
21  */

22 public class AlreadyExistsException extends Exception JavaDoc {
23
24     public AlreadyExistsException() {
25     }
26
27     public AlreadyExistsException(String JavaDoc message) {
28         super(message);
29     }
30 }
31
Popular Tags