Valide input - exception and catching them if not valid