fixed exception specifier mismatch