You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by vl...@apache.org on 2002/11/19 06:21:06 UTC
cvs commit: xml-xindice/java/src/org/apache/xindice/client/xmldb/services XUpdateQueryServiceImpl.java
vladimir 2002/11/18 21:21:06
Modified: java/src/org/apache/xindice/client/xmldb/services
XUpdateQueryServiceImpl.java
Log:
Use new chained exception from XMLDBException
Revision Changes Path
1.7 +3 -3 xml-xindice/java/src/org/apache/xindice/client/xmldb/services/XUpdateQueryServiceImpl.java
Index: XUpdateQueryServiceImpl.java
===================================================================
RCS file: /home/cvs/xml-xindice/java/src/org/apache/xindice/client/xmldb/services/XUpdateQueryServiceImpl.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- XUpdateQueryServiceImpl.java 31 Oct 2002 06:58:48 -0000 1.6
+++ XUpdateQueryServiceImpl.java 19 Nov 2002 05:21:06 -0000 1.7
@@ -106,14 +106,14 @@
}
catch(Exception e)
{
- throw new XMLDBException(ErrorCodes.VENDOR_ERROR, "Unable to retrieve <src:modified> element content from server result");
+ throw new XMLDBException(ErrorCodes.VENDOR_ERROR, "Unable to retrieve <src:modified> element content from server result", e);
}
try {
return Long.parseLong(count);
} catch (Exception e) {
- throw new XMLDBException(ErrorCodes.VENDOR_ERROR, "<src:modified> in server result did not contain a valid count" + e.getMessage());
+ throw new XMLDBException(ErrorCodes.VENDOR_ERROR, "<src:modified> in server result did not contain a valid count", e);
}
}