visioexception.java

来自「java 与COM组件的连接桥」· Java 代码 · 共 23 行

JAVA
23
字号
package com.jacob.samples.visio;

/**
 * Created as part of sourceforge 1386454 to demonstrate returning values in event handlers
 * @author miles@rowansoftware.net
 *
 *	This extends runtime exception so that we can be sloppy and not put catch blocks everywhere
 */
public class VisioException extends Exception {
    /**
	 * Totally dummy value to make Eclipse quit complaining
	 */
	private static final long serialVersionUID = 1L;

	public VisioException(String msg) {
        super(msg);
    }

    public VisioException(Throwable cause) {
        super(cause);
    }
}

⌨️ 快捷键说明

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