01: /**
02: * $RCSfile$
03: * $Revision: 42 $
04: * $Date: 2004-10-21 00:28:12 -0700 (Thu, 21 Oct 2004) $
05: *
06: * Copyright (C) 2004 Jive Software. All rights reserved.
07: *
08: * This software is published under the terms of the GNU Public License (GPL),
09: * a copy of which is included in this distribution.
10: */package org.jivesoftware.util;
11:
12: /**
13: * <p>Flags an exception when something to be created or added already exists.</p>
14: * <p>Use this class when it's not worth creating a unique
15: * xAlreadyExistsException class, or where the context of
16: * the call makes it obvious what type of object was not found.</p>
17: *
18: * @author Iain Shigeoka
19: */
20: public class AlreadyExistsException extends Exception {
21:
22: public AlreadyExistsException() {
23: }
24:
25: public AlreadyExistsException(String message) {
26: super(message);
27: }
28: }
|