IntelliJ IDEA doesn't recognize exceptions down the inheritance tree
已回答
Suppose I have some `ParentException`
public ParentException extends RuntimeException {}
and also some `ChildException`
public ChildException extends ParentException {}
In that case, IntelliJ IDEA doesn't always recognize `ChildException` as an exception. That is, I don't see the lightning icon. Perhaps, the issue doesn't have to do with inheritance. At any rate, the icons sometimes don't appear for my custom exceptions (and sometimes they do)

请先登录再写评论。
I can reproduce this issue in some cases too.
Please vote for the related bug report here: https://youtrack.jetbrains.com/issue/IDEA-156286/ (Custom exceptions displayed with the wrong icon (Class Icon))
See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with our issue tracker.