📄 protocolexception.java
字号:
// ProtocolException.java// $Id: ProtocolException.java,v 1.2 2000/08/16 21:37:53 ylafon Exp $// (c) COPYRIGHT MIT and INRIA, 1996.// Please first read the full copyright statement in file COPYRIGHT.htmlpackage org.w3c.tools.resources ;public class ProtocolException extends Exception { String msg = null ; ReplyInterface error = null ; /** * Was a reply provided with the exception ? * @return True if a reply is available. */ public boolean hasReply () { return error != null ; } /** * Get this exception reply. * @return The reply to send back to requesting process. */ public ReplyInterface getReply() { return error ; } public ProtocolException (String msg) { super (msg) ; this.error = null ; } public ProtocolException (String msg, ReplyInterface error) { super (msg) ; this.error = error ; } public ProtocolException (ReplyInterface error) { super ((String) null) ; this.error = error ; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -