Permalink
Browse files

Merge pull request #157 from claudius108/develop

Replaced a deprecated XPathException.
  • Loading branch information...
2 parents 4e4d72d + 9d785c0 commit a36fbcff47ded4343c775a167f3cee17c9ac8ab9 @wolfgangmm wolfgangmm committed Mar 2, 2014
@@ -130,15 +130,15 @@ public Sequence eval(Sequence[] args, Sequence contextSequence) throws XPathExce
} catch (IOException ex) {
LOG.error(ex.getMessage(), ex);
- throw new XPathException(ex.getMessage(), ex);
+ throw new XPathException(this, ex.getMessage(), ex);
} catch (SAXException ex) {
LOG.error(ex.getMessage(), ex);
- throw new XPathException(ex.getMessage(), ex);
+ throw new XPathException(this, ex.getMessage(), ex);
} catch (ContentExtractionException ex) {
LOG.error(ex.getMessage(), ex);
- throw new XPathException(ex.getMessage(), ex);
+ throw new XPathException(this, ex.getMessage(), ex);
}
}
}
@@ -186,15 +186,15 @@ private Sequence streamContent(ContentExtraction ce, BinaryValue binary, Sequenc
} catch (IOException ex) {
LOG.error(ex.getMessage(), ex);
- throw new XPathException(ex.getMessage(), ex);
+ throw new XPathException(this, ex.getMessage(), ex);
} catch (SAXException ex) {
LOG.error(ex.getMessage(), ex);
- throw new XPathException(ex.getMessage(), ex);
+ throw new XPathException(this, ex.getMessage(), ex);
} catch (ContentExtractionException ex) {
LOG.error(ex.getMessage(), ex);
- throw new XPathException(ex.getMessage(), ex);
+ throw new XPathException(this, ex.getMessage(), ex);
}
return receiver.getResult();

0 comments on commit a36fbcf

Please sign in to comment.