Refactor de les excepcions : dao i services