removed special treatment of COMException