public static boolean isGenericExceptionClass(@Nullable PsiType exceptionType) {
    if (!(exceptionType instanceof PsiClassType classType)) {
      return false;
    }
    final String className = classType.getCanonicalText();
    return s_genericExceptionTypes.contains(className);
  }
public static boolean isGenericExceptionClass(@Nullable PsiType exceptionType)