Proper exception chaining for troubleshooting Sendu's issue.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3556 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
8defb30796
commit
8a895f481f
|
|
@ -214,7 +214,7 @@ class ReferenceOrderedQueryDataPool extends ResourcePool<FeatureReader, Location
|
||||||
return new SeekableRODIterator(new FeatureToGATKFeatureIterator(resource.iterator(),rod.getName()));
|
return new SeekableRODIterator(new FeatureToGATKFeatureIterator(resource.iterator(),rod.getName()));
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new StingException("Unable to create iterator for rod named " + rod.getName());
|
throw new StingException("Unable to create iterator for rod named " + rod.getName(),e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -223,7 +223,7 @@ class ReferenceOrderedQueryDataPool extends ResourcePool<FeatureReader, Location
|
||||||
try {
|
try {
|
||||||
resource.close();
|
resource.close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new StingException("Unable to close reader for rod named " + rod.getName());
|
throw new StingException("Unable to close reader for rod named " + rod.getName(),e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue