handle exception from geokit library