List<PsiClassType> (@NotNull List<? extends PsiClassType> exceptions) { List<PsiClassType> array = new ArrayList<>(); for (PsiClassType exception : exceptions) { if (!isUncheckedException(exception)) array.add(exception); } return array; }