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

📄 communicationexception.java

📁 Mobile 应用程序使用 Java Micro Edition (Java ME) 平台
💻 JAVA
字号:
/* * @(#)file      CommunicationException.java * @(#)author    Sun Microsystems, Inc. * @(#)version   1.20 * @(#)lastedit      05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * */package com.sun.jmx.snmp.daemon;// java import//import java.io.PrintStream;import java.io.PrintWriter;/** * Represents exceptions raised due to communications problems, * for example when a managed object server is out of reach.<p> * * <p><b>This API is a Sun Microsystems internal API  and is subject  * to change without notice.</b></p> * @version     1.20     11/17/05 * @author      Sun Microsystems, Inc */public class CommunicationException extends javax.management.JMRuntimeException {    /* Serial version */    private static final long serialVersionUID = -2499186113233316177L;    /**     * Constructs a CommunicationException with a target exception.     */    public CommunicationException(Throwable target) {	super(target.getMessage());	initCause(target);    }    /**     * Constructs a CommunicationException with a target exception     * and a detail message.     */    public CommunicationException(Throwable target, String msg) {	super(msg);	initCause(target);    }    /**     * Constructs a CommunicationException with a detail message.     */    public CommunicationException(String msg) {	super(msg);    }    /**     * Get the thrown target exception.     */    public Throwable getTargetException() {	return getCause();    }}

⌨️ 快捷键说明

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