⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exceptionhandler.java

📁 sea是一个基于seda模式的实现。这个设计模式将系统分为很多stage。每个stage分布不同的任务(基于线程池)。通过任务流的方式提高系统的效率。
💻 JAVA
字号:
/* * Copyright (c) 2003, The Regents of the University of California, through * Lawrence Berkeley National Laboratory (subject to receipt of any required * approvals from the U.S. Dept. of Energy). All rights reserved. */package gov.lbl.dsd.sea;/** * Callback invoked if a {@link RuntimeException} is raised within * {@link EventHandler#handle(Object)} of the given source stage. *  * @author whoschek@lbl.gov * @author $Author: hoschek3 $ * @version $Revision: 1.1 $, $Date: 2004/07/22 01:31:04 $ */public interface ExceptionHandler {		/**	 * Called if a {@link RuntimeException} is raised within	 * {@link EventHandler#handle(Object)} of the given source stage.	 * 	 * @param cause	 *            the causing exception	 * @param causingEvent	 *            the event that caused the exception.	 * @param source	 *            the stage that could not properly handle the causing event.	 */		public void onException(RuntimeException cause, Object causingEvent, Stage source);	}

⌨️ 快捷键说明

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