IMO, it would be better to handle this exception at the end in order to first inform  the user it must provide one of the mandatory parameter and then, it must provide the lat (if it has already provided the long) and the inverse :)