cannotremoveexception.java

来自「JGRoups源码」· Java 代码 · 共 39 行

JAVA
39
字号
package  org.jgroups.persistence;/** * @author Mandar Shinde * This exception inherits the Exception class and is used in * cases where the Persistence Storage cannot remove a pair * from its storage mechanism (leading to permannt errors) */public class CannotRemoveException extends Exception{    /**     * @param t     * @param reason implementor-specified runtime reason     */    public CannotRemoveException(Throwable t, String reason)    {	this.t = t;	this.reason = reason;    }    /**     * @return String;     */    public String toString()    {	String tmp = "Exception " + t.toString() + " was thrown due to " + reason;	return tmp;    }    /**     * members are made available so that the top level user can dump     * appropriate members on to his stack trace     */    public Throwable t = null;    public String reason = null;}

⌨️ 快捷键说明

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