01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.vfny.geoserver.global;
06:
07: /**
08: * Thrown when there is an error in configuration. Added a third constructor
09: * for ease of exception type chaining.
10: *
11: * @author Chris Holmes
12: * @author dzwiers
13: * @version $Id: ConfigurationException.java 6326 2007-03-15 18:36:40Z jdeolive $
14: */
15: public class ConfigurationException extends Exception {
16: /**
17: *
18: */
19: private static final long serialVersionUID = 6333673036778693749L;
20:
21: /**
22: * Constructs a new instance of ConfigurationException
23: *
24: * @param msg A message explaining the exception
25: */
26: public ConfigurationException(String msg) {
27: super (msg);
28: }
29:
30: /**
31: * Constructs a new instance of ConfigurationException
32: *
33: * @param msg A message explaining the exception
34: * @param exp the throwable object which caused this exception
35: */
36: public ConfigurationException(String msg, Throwable exp) {
37: super (msg, exp);
38: }
39:
40: /**
41: * Constructs a new instance of ConfigurationException
42: *
43: * @param exp the throwable object which caused this exception
44: */
45: public ConfigurationException(Throwable exp) {
46: super(exp);
47: }
48: }
|