nullexceptionhandler.java

来自「jtapi for telephone」· Java 代码 · 共 20 行

JAVA
20
字号
package net.sourceforge.gjtapi.util;
/**
 * This is a class that encapsulates how to handle thread running exceptions.
 * <P>The implementation eats any exception.
 * Creation date: (2000-05-10 7:15:02)
 * @author: Richard Deadman
 */
public class NullExceptionHandler extends ExceptionHandler {
/**
 * Eat the exception.
 * Creation date: (2000-05-10 11:04:10)
 * @author: Richard Deadman
 * @param eh The EventHandler being invoked when the exception occurred.
 * @param ex The exception that occured.
 * @param other The parameter passed to the EventHandler
 */
public void handleException(EventHandler eh, RuntimeException ex, Object other) {
}
}

⌨️ 快捷键说明

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