base-diskcache icon indicating copy to clipboard operation
base-diskcache copied to clipboard

completeEdit()方法抛出IllegalStateException

Open youlongsam opened this issue 6 years ago • 0 comments

private synchronized void completeEdit(Editor editor, boolean success) throws IOException { Entry entry = editor.entry; if (entry.currentEditor != editor) { throw new IllegalStateException(); } ....... } 请问在这里IllegalStateException异常是什么问题,如果程序抛出这个异常,应该怎么处理

youlongsam avatar Mar 11 '19 03:03 youlongsam