View Javadoc

1   /*
2    * $Id: PropertyNotFoundException.java,v 1.1 2004/02/16 22:47:20 mch Exp $
3    *
4    * Copyright 2003 AstroGrid. All rights reserved.
5    *
6    * This software is published under the terms of the AstroGrid Software License,
7    * a copy of which has been included with this distribution in the LICENSE.txt file.
8    */
9   
10  package org.astrogrid.config;
11  
12  /***
13   * Thrown when a property cannot be found.
14   * This is a runtime error so that applications break when <i>required</i>
15   * properties cannot be found, without having to build all the catches in.
16   *
17   * @author M Hill
18   */
19  
20  public class PropertyNotFoundException extends RuntimeException {
21     
22     public PropertyNotFoundException(String msg) {
23        super(msg);
24     }
25     
26  }
27  
28  /*
29  $Log: PropertyNotFoundException.java,v $
30  Revision 1.1  2004/02/16 22:47:20  mch
31  For reporting configuration errors
32  
33   */
34