private static boolean isParentInThrowsListPresent(@NotNull final PsiClass clazz,
                                                         @NotNull final List<PsiClassType> throwsList) {
        final PsiClassType type = PsiTypesUtil.getClassType(clazz);
        return ContainerUtil.exists(throwsList, e -> e.isAssignableFrom(type));
      }
private static boolean isParentInThrowsListPresent(@NotNull final PsiClass clazz,
                                                         @NotNull final List<PsiClassType> throwsList)