public static boolean isGeneralExceptionType(final @NotNull PsiType type) {
    return type.equalsToText(CommonClassNames.JAVA_LANG_THROWABLE) ||
           type.equalsToText(CommonClassNames.JAVA_LANG_EXCEPTION) ||
           type.equalsToText(CommonClassNames.JAVA_LANG_ERROR);
  }
public static boolean isGeneralExceptionType(final @NotNull PsiType type)