added exception management on NmapHost and NmapService API