1 /*
2 * <cvs:source>$Source: /devel/astrogrid/mySpace/client/src/java/org/astrogrid/store/adapter/aladin/AladinAdapterDuplicateException.java,v $</cvs:source>
3 * <cvs:author>$Author: clq2 $</cvs:author>
4 * <cvs:date>$Date: 2004/11/17 16:22:53 $</cvs:date>
5 * <cvs:version>$Revision: 1.3 $</cvs:version>
6 * <cvs:log>
7 * $Log: AladinAdapterDuplicateException.java,v $
8 * Revision 1.3 2004/11/17 16:22:53 clq2
9 * nww-itn07-704
10 *
11 * Revision 1.2.20.1 2004/11/16 16:47:28 nw
12 * copied aladinAdapter interfaces into a neutrally-named package.
13 * deprecated original interfaces.
14 * javadoc
15 *
16 * Revision 1.2 2004/09/28 10:24:19 dave
17 * Added AladinAdapter interfaces and mock implementation.
18 *
19 * Revision 1.1.2.1 2004/09/27 22:46:53 dave
20 * Added AdapterFile interface, with input and output stream API.
21 *
22 * Revision 1.1.2.1 2004/09/23 16:32:02 dave
23 * Added better Exception handling ....
24 * Added initial mock container ....
25 * Added initial root container tests ...
26 *
27 * </cvs:log>
28 *
29 */
30 package org.astrogrid.store.adapter.aladin ;
31
32 /***
33 * An exception thrown if attempting to create a duplicate entry.
34 * * @deprecated use {@link org.astrogrid.store.tree} instead
35 */
36 public class AladinAdapterDuplicateException
37 extends AladinAdapterException
38 {
39 /***
40 * The default Exception message.
41 *
42 */
43 public static final String DEFAULT_MESSAGE = "Attempted to create duplicate node in tree" ;
44
45 /***
46 * Public constructor, with default message.
47 *
48 */
49 public AladinAdapterDuplicateException()
50 {
51 this(
52 DEFAULT_MESSAGE
53 ) ;
54 }
55
56 /***
57 * Public constructor, with specific message.
58 * @param message The Exception message.
59 *
60 */
61 public AladinAdapterDuplicateException(String message)
62 {
63 super(
64 message
65 ) ;
66 }
67
68 }