private static boolean checkWrongInheritorOfThrowable(@NotNull PsiClass psiClass) {
    return !InheritanceUtil.isInheritor(psiClass, CommonClassNames.JAVA_LANG_THROWABLE);
  }
private static boolean checkWrongInheritorOfThrowable(@NotNull PsiClass psiClass)