what actually the 2nd requirement asks us to do. it doesn't specifically says that if integer is negative throw exception. it says if lines can't be converted to positive throw exception.