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

📄 timertaskexecutionexception.java

📁 spring的源代码
💻 JAVA
字号:
package org.springframework.scheduling.timer;

import org.springframework.core.NestedRuntimeException;

/**
 * RuntimeException to be thrown when a TimerTask implementation
 * encounters a (possibly checked) exception that it wants to rethrow.
 *
 * <p>This exception is analogous to Quartz' JobExecutionException.
 * Unfortunately, the Timer API does not specify such an exception itself.
 *
 * @author Juergen Hoeller
 * @since 19.03.2004
 * @see org.quartz.JobExecutionException
 */
public class TimerTaskExecutionException extends NestedRuntimeException {

	/**
	 * Create a new TimerTaskExecutionException.
	 * @param msg the error message
	 * @param ex the exception that occured within the TimerTask
	 */
	public TimerTaskExecutionException(String msg, Throwable ex) {
		super(msg, ex);
	}

}

⌨️ 快捷键说明

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