Fix unintentional 'new' in throw statement