All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jd.blockchain.utils.event.ExceptionHandle Maven / Gradle / Ivy

package com.jd.blockchain.utils.event;

import java.lang.reflect.Method;

/**
 * ExceptionHandle 定义了在对事件监听器进行事件通知时出现的异常的处理接口;
 * 
 * @author haiq
 *
 * @param  TListener
 */
public interface ExceptionHandle {

	/**
	 * 处理监听器异常;
	 * 
	 * @param ex
	 *            异常;
	 * @param listener
	 *            发生异常的监听器实例;
	 * @param method
	 *            发生异常的方法;
	 * @param args
	 *            方法参数;
	 */
	public void handle(Exception ex, TListener listener, Method method, Object[] args);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy