not great, but at least don't hide the real exception

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@732440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2009-01-07 19:32:27 +00:00
parent 69d4976415
commit 2192dbc0d0
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class XMLLoader extends ContentStreamLoader {
}
catch (XMLStreamException e) {
//Hmmm, not quite right
throw new IOException(e.getMessage());
throw new IOException(e.getMessage(), e);
} finally {
IOUtils.closeQuietly(reader);
}