Gerneral XML parse error
authoramwaterhouse <Andrew Waterhouse>
Wed, 18 Oct 2006 12:58:00 +0000 (12:58 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 18 Oct 2006 12:58:00 +0000 (12:58 +0000)
src/org/biojava/dasobert/das/DAS_FeatureRetrieve.java

index b65a847..9386bb2 100755 (executable)
@@ -140,14 +140,16 @@ public class DAS_FeatureRetrieve {
                 features = cont_handle.get_features();
                 comeBackLater = cont_handle.getComBackLater();
             }
-            catch ( Exception e){
-                e.printStackTrace();
+            catch ( Exception e)
+            {
+                System.out.println("Error parsing response from: "+url+"\n"+e);
                 logger.log(Level.FINE,"error while parsing response from "+ url);
                 comeBackLater = -1;
                 features = new ArrayList();
             }
         }
-        catch (Exception ex) {
+        catch (Exception ex)
+        {
             ex.printStackTrace();
             comeBackLater = -1;
         }