Improved exception message to temp out of range