invalidstoreclassexception.java

来自「很棒的web服务器源代码」· Java 代码 · 共 47 行

JAVA
47
字号
// InvalidStoreClassException.java// $Id: InvalidStoreClassException.java,v 1.2 2000/08/16 21:37:54 ylafon Exp $// (c) COPYRIGHT MIT and INRIA, 1996-1997.// Please first read the full copyright statement in file COPYRIGHT.htmlpackage org.w3c.tools.resources.store;/** * A store is being loaded by a class who didn't write it. */public class InvalidStoreClassException extends Exception {    /**     * The class willing to load that store.     */    protected String loader = null;    /**     * The class willing to unload that store.     */    protected String saver = null;    /**     * Get the loader's class name.     * @return A String giving the full name of the loader's class.     */    public String getLoaderClassName() {	return loader;    }    /**     * Get the saver's class name.     * @return A String giving the full name of the saver's class.     */    public String getSaverClassName() {	return saver;    }    public InvalidStoreClassException(String loadingcls, String expectedcls) {	super("invalid class: "+loadingcls+", supposed to be: "+expectedcls);	this.loader = loadingcls;	this.saver  = expectedcls;    }}

⌨️ 快捷键说明

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