generalfailureexception.java
来自「《Java网络程序设计.rar》包括三个网络程序的源代码。」· Java 代码 · 共 28 行
JAVA
28 行
/* */package org.impact.stars.control.exceptions;/** * This exception is the base class for all the web runtime exceptions. */public class GeneralFailureException extends RuntimeException implements java.io.Serializable { private Throwable t; public GeneralFailureException(String s) { super(s); } public GeneralFailureException(String s, Throwable t) { super(s); this.t = t; } public String getThrowable() { return ("Received throwable with Message: "+ t.getMessage()); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?