Better message in exception when conversion from period to timestamp fails