added more eplicit exception message when failure to pass dobule