--- dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/afstandandenrute/OSRMHelper.java 2016/01/30 19:17:09 2884 +++ dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/afstandandenrute/OSRMHelper.java 2016/01/30 19:20:43 2885 @@ -25,7 +25,7 @@ final String base_url = "http://" + host + ":" + port; - public Address getNearestTableHttp(Address a1, Collection
haystack) { + public Address getNearestTableHttp(Address a1, Collection
haystack) throws Exception { @@ -82,7 +82,7 @@ logger.log(Level.SEVERE, "Lookup failed", e); System.out.println( sb.toString() ); System.out.println( a1 ); - System.exit(1); + throw e; //Re-throw } //return gson.fromJson(txtResponse, OSRMResponse.class);