View Javadoc

1   /*
2    * $Id: ConfigException.java,v 1.3 2004/06/26 14:58:43 jdt 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   ///CLOVER:OFF 
10  package org.astrogrid.config;
11  
12  /***
13   * Thrown when problems encountered with getting configuration properties.
14   * Catching things like type errors and always rethrowing as these makes
15   * it easier for sysadmins etc to locate the problem when messing around
16   * with config files
17   *
18   * @author M Hill
19   */
20  
21  public class ConfigException extends RuntimeException {
22     
23     public ConfigException(String msg, Throwable th) {
24        super(msg, th);
25     }
26     
27     public ConfigException(String msg) {
28        super(msg);
29     }
30     
31  }
32  
33  /*
34  $Log: ConfigException.java,v $
35  Revision 1.3  2004/06/26 14:58:43  jdt
36  disable clover for these classes
37  
38  Revision 1.2  2004/03/01 13:34:18  mch
39  Added message-only constructor
40  
41  Revision 1.1  2004/02/16 22:46:51  mch
42  For reporting configuration errors
43  
44   */
45