nulldeviceerrorhandler.java

来自「jConfig,JAVA读取XML的开源项目」· Java 代码 · 共 20 行

JAVA
20
字号
package org.jconfig.error;

/**
 * This class implements the so called NullDevice ErrorHandler. It just
 * swallows the error messages. This ErrorHandler is used as default to
 * be backward compatible since jConfig has never reported any errors before.
 * 
 * @author Andreas Mecky andreasmecky@yahoo.de
 * @author Terry Dye terrydye@yahoo.com
 */
public class NullDeviceErrorHandler implements ErrorHandler {
	
	public void reportError(String message) {
	}

	public void reportError(String message, Throwable thrown) {
	}
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?