throw() omitted in cpp file