View Javadoc

1   /*
2    * <cvs:source>$Source: /devel/astrogrid/filemanager/common/src/java/org/astrogrid/filemanager/common/exception/NodeNotFoundException.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: NodeNotFoundException.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   *   Revision 1.1.2.1  2004/10/09 04:28:31  dave
23   *   Added initial account and container methods ....
24   *
25   *   Revision 1.1.2.1  2004/10/07 16:04:38  dave
26   *   Added exception to addAccount
27   *
28   * </cvs:log>
29   *
30   */
31  package org.astrogrid.filemanager.common.exception ;
32  
33  /***
34   * Exception thrown when attempting to access a node that is not in the database.
35   *
36   */
37  public class NodeNotFoundException
38      extends FileManagerException
39      {
40      /***
41       * The default exception message.
42       *
43       */
44      public static final String DEFAULT_MESSAGE = "Node not found" ;
45  
46      /***
47       * Public constructor using the default message.
48       *
49       */
50      public NodeNotFoundException()
51          {
52          this(DEFAULT_MESSAGE) ;
53          }
54  
55      /***
56       * Public constructor.
57       * @param message The exception message.
58       *
59       */
60      public NodeNotFoundException(String message)
61          {
62          super(message) ;
63          }
64  
65      }