1 /*
2 * <cvs:source>$Source: /devel/astrogrid/filemanager/common/src/java/org/astrogrid/filemanager/common/exception/DuplicateNodeException.java,v $</cvs:source>
3 * <cvs:author>$Author: jdt $</cvs:author>
4 * <cvs:date>$Date: 2005/01/13 17:23:15 $</cvs:date>
5 * <cvs:version>$Revision: 1.3 $</cvs:version>
6 * <cvs:log>
7 * $Log: DuplicateNodeException.java,v $
8 * Revision 1.3 2005/01/13 17:23:15 jdt
9 * merges from dave-dev-200412201250
10 *
11 * Revision 1.2.4.1 2005/01/12 13:16:27 dave
12 * Changed tabs to spaces ...
13 *
14 * Revision 1.2 2004/11/25 00:20:29 jdt
15 * Merge from dave-dev-200410061224-200411221626
16 *
17 * Revision 1.1.2.1 2004/10/13 06:33:17 dave
18 * Refactored exceptions ...
19 * Refactored the container API
20 * Added placeholder file interface ...
21 *
22 * </cvs:log>
23 *
24 */
25 package org.astrogrid.filemanager.common.exception ;
26
27 /***
28 * Exception thrown when attempting to create a duplicate node.
29 *
30 */
31 public class DuplicateNodeException
32 extends FileManagerException
33 {
34 /***
35 * The default exception message.
36 *
37 */
38 public static final String DEFAULT_MESSAGE = "Duplicate node name" ;
39
40 /***
41 * Public constructor using the default message.
42 *
43 */
44 public DuplicateNodeException()
45 {
46 this(DEFAULT_MESSAGE) ;
47 }
48
49 /***
50 * Public constructor.
51 * @param message The exception message.
52 *
53 */
54 public DuplicateNodeException(String message)
55 {
56 super(message) ;
57 }
58
59 }