Gregory Palm, co-general counsel of Goldman Sachs Group, Inc. strongly defended his company Tuesday and told investors that the government’s suit against the Wall Street giant took him by surprise.

Palm said his legal department spent the past 18 months talking and providing records to the Securities and Exchange Commission. But the agency didn’t notify the company that it was filing suit last Friday. Palm said Goldman was “disappointed” by the charge.