slaveerror.java

来自「aglet的部分源码」· Java 代码 · 共 35 行

JAVA
35
字号
package com.ibm.agletx.patterns;/* * @(#)SlaveError.java *  * IBM Confidential-Restricted *  * OCO Source Materials *  * 03L7246 (c) Copyright IBM Corp. 1996, 1998 *  * The source code for this program is not published or otherwise * divested of its trade secrets, irrespective of what has been * deposited with the U.S. Copyright Office. */import java.net.*;import java.io.IOException;/* * @version     1.20    $Date: 2001/07/28 06:33:31 $ * @author      Yariv Aridor */class SlaveError implements java.io.Serializable {	public String host = null;	public String text = null;	public SlaveError(URL host, Throwable ex) {		this.host = host.toString();		text = ex.getClass().getName() + "::" + ex.getMessage();	}}

⌨️ 快捷键说明

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