The second class would include those planets formed so near the stellar center that the high temperature would make it impossible to capture much hydrogen.
The second group is planets whose center make it hard to capture hydrogen.