Pregunta de entrevista de Cognizant

Difference between exception and error?