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

📄 pushletexception.java

📁 Java下Comet的实现框架Pushlet例子。 实现实时推送数据到客户端。 服务器每隔30-500MS产生一个随机数
💻 JAVA
字号:
// Copyright (c) 2000 Just Objects B.V. <just@justobjects.nl>// Distributable under LGPL license. See terms of license at gnu.org.package nl.justobjects.pushlet.util;/** * Generic exception wrapper. * * @author Just van den Broecke * @version $Id: PushletException.java,v 1.1 2005/02/15 15:14:34 justb Exp $ */public class PushletException extends Exception {	static final long serialVersionUID = 316005l;	private PushletException() {	}	public PushletException(String aMessage, Throwable t) {		super(aMessage + "\n embedded exception=" + t.toString());	}	public PushletException(String aMessage) {		super(aMessage);	}	public PushletException(Throwable t) {		this("PushletException: ", t);	}	public String toString() {		return "PushletException: " + getMessage();	}}/* * $Log: PushletException.java,v $ * Revision 1.1  2005/02/15 15:14:34  justb * *** empty log message *** * * */

⌨️ 快捷键说明

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