📄 storeclassversionexception.java
字号:
// StoreClassVersionException.java// $Id: StoreClassVersionException.java,v 1.2 2000/08/16 21:37:55 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;/** * This is exception gets thrown if an invalid resource store is detected. */public class StoreClassVersionException extends Exception { /** * Version of the class that wanted to load the store. */ int loader = -1; /** * Version of the class that saved the store. */ int saver = -1; /** * Get the loader's class version. * @return An integer version number. */ public int getLoaderClassVersion() { return loader; } /** * Get the saver's class version. * @return An integer version number. */ public int getSaverClassVersion() { return saver; } public StoreClassVersionException(int loader, int saver) { super("invalid store class "+loader+" saved by "+saver); this.loader = loader; this.saver = saver; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -