Skip to content

completeEdit()方法抛出IllegalStateException #6

@youlongsam

Description

@youlongsam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions