configurationexception.java
来自「电子地图服务器,搭建自己的地图服务」· Java 代码 · 共 50 行
JAVA
50 行
/* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
* This code is licensed under the GPL 2.0 license, availible at the root
* application directory.
*/
package org.vfny.geoserver.global;
/**
* Thrown when there is an error in configuration. Added a third constructor
* for ease of exception type chaining.
*
* @author Chris Holmes
* @author dzwiers
* @version $Id: ConfigurationException.java 6326 2007-03-15 18:36:40Z jdeolive $
*/
public class ConfigurationException extends Exception {
/**
*
*/
private static final long serialVersionUID = 6333673036778693749L;
/**
* Constructs a new instance of ConfigurationException
*
* @param msg A message explaining the exception
*/
public ConfigurationException(String msg) {
super(msg);
}
/**
* Constructs a new instance of ConfigurationException
*
* @param msg A message explaining the exception
* @param exp the throwable object which caused this exception
*/
public ConfigurationException(String msg, Throwable exp) {
super(msg, exp);
}
/**
* Constructs a new instance of ConfigurationException
*
* @param exp the throwable object which caused this exception
*/
public ConfigurationException(Throwable exp) {
super(exp);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?