abstractexceptionhandler.java

来自「纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统」· Java 代码 · 共 32 行

JAVA
32
字号
/*
 * $Id: AbstractExceptionHandler.java,v 1.1 2003/11/25 11:41:14 epr Exp $
 */
package org.jnode.vm.classmgr;

import org.jnode.vm.VmSystemObject;

/**
 * @author epr
 */
public abstract class AbstractExceptionHandler extends VmSystemObject {

	private final VmConstClass catchType;

	/**
	 * Create a new instance
	 * @param catchType
	 */
	public AbstractExceptionHandler(VmConstClass catchType) {
		this.catchType = catchType;
	}

	/**
	 * Gets the classreference of the exception class this exception handler
	 * can handle.
	 * @return VmConstClass
	 */
	public final VmConstClass getCatchType() {
		return catchType;
	}
}

⌨️ 快捷键说明

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