pushletexception.java

来自「Java下Comet的实现框架Pushlet例子。 实现实时推送数据到客户端。」· Java 代码 · 共 42 行

JAVA
42
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?