View Javadoc

1   /*
2    * <cvs:source>$Source: /devel/astrogrid/filestore/common/src/java/org/astrogrid/filestore/common/exception/FileStoreNotFoundException.java,v $</cvs:source>
3    * <cvs:author>$Author: dave $</cvs:author>
4    * <cvs:date>$Date: 2004/07/14 13:50:29 $</cvs:date>
5    * <cvs:version>$Revision: 1.2 $</cvs:version>
6    * <cvs:log>
7    *   $Log: FileStoreNotFoundException.java,v $
8    *   Revision 1.2  2004/07/14 13:50:29  dave
9    *   Merged development branch, dave-dev-200406301228, into HEAD
10   *
11   *   Revision 1.1.2.1  2004/07/12 14:39:03  dave
12   *   Added server repository classes
13   *
14   *   Revision 1.1.2.1  2004/07/05 04:50:29  dave
15   *   Created initial FileStore components
16   *
17   * </cvs:log>
18   *
19   */
20  package org.astrogrid.filestore.common.exception ;
21  
22  /***
23   * An Exception throws when the service can't locate a file.
24   *
25   */
26  public class FileStoreNotFoundException
27  	extends FileStoreException
28  	{
29  	/***
30  	 * Standard Exception message.
31  	 *
32  	 */
33  	public static final String DEFAULT_MESSAGE = "Unable to locate file : " ;
34  
35  	/***
36  	 * Public constructor.
37  	 *
38  	 */
39  	public FileStoreNotFoundException()
40  		{
41  		super() ;
42  		}
43  
44  	/***
45  	 * Public constructor.
46  	 * @param ident The internal identifier of the file.
47  	 *
48  	 */
49  	public FileStoreNotFoundException(String ident)
50  		{
51  		super(
52  			DEFAULT_MESSAGE + ident
53  			) ;
54  		}
55  	}