When a valueError exception is raised, the programs shows the data