boolean (@Nullable final PsiClass aClass, @NotNull PsiClassType exceptionType) { if (aClass == null) return false; final PsiMethod[] constructors = aClass.getConstructors(); boolean thrown = constructors.length != 0; for (PsiMethod constructor : constructors) { if (!isHandledByMethodThrowsClause(constructor, exceptionType)) { thrown = false; break; } } return thrown; }