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

📄 httpexception.java

📁 很棒的web服务器源代码
💻 JAVA
字号:
// HTTPException.java// $Id: HTTPException.java,v 1.4 2000/08/16 21:37:40 ylafon Exp $// (c) COPYRIGHT MIT and INRIA, 1996.// Please first read the full copyright statement in file COPYRIGHT.htmlpackage org.w3c.jigsaw.http ;import org.w3c.tools.resources.ProtocolException;import org.w3c.tools.resources.ReplyInterface;/** * All entities should throw an HTTPException when encoutering some problems. * This kind of exception is the one that gets normally caught by clients, * and result in sending back HTTP error messages to the client. */public class HTTPException extends ProtocolException {  public HTTPException (String msg) {    super (msg) ;  }  public HTTPException (String msg, Reply error) {    super (msg, error) ;  }  public HTTPException (Reply error) {    super (error) ;  }  public HTTPException(ProtocolException ex) {    super(ex.getMessage(), ex.getReply());  }}	

⌨️ 快捷键说明

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