Permalink
Browse files

Replaced an deprecated XPathException.

  • Loading branch information...
1 parent 4e4d72d commit 9d785c05fea1782bc426f231abbbeb24e8d01224 @claudius108 claudius108 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 9d785c0

Please sign in to comment.