📄 handleerror.java
字号:
// **********************************************************************// // <copyright>// // BBN Technologies// 10 Moulton Street// Cambridge, MA 02138// (617) 873-8000// // Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/util/HandleError.java,v $// $RCSfile: HandleError.java,v $// $Revision: 1.3.2.1 $// $Date: 2004/10/14 18:27:46 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.util;/** * Use this class to catch a checked exception and throw it as an * uncheck one. This way, people will find out about it, but don't * have to explicitly handle it. */public class HandleError extends RuntimeException { public HandleError(Exception e) { super(e.toString()); } public HandleError(String s) { super(s); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -