fixed cp35126

the exception reports type of the correct argument