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:14:58 UTC
cvs commit: xml-xindice/java/src/org/apache/xindice/core CollectionManager.java
vladimir 2002/11/18 21:14:58
Modified: java/src/org/apache/xindice/tools/command
RetrieveDocument.java
java/src/org/apache/xindice/core CollectionManager.java
Log:
minor fix for the Exception
Revision Changes Path
1.7 +3 -3 xml-xindice/java/src/org/apache/xindice/tools/command/RetrieveDocument.java
Index: RetrieveDocument.java
===================================================================
RCS file: /home/cvs/xml-xindice/java/src/org/apache/xindice/tools/command/RetrieveDocument.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RetrieveDocument.java 31 Oct 2002 07:01:15 -0000 1.6
+++ RetrieveDocument.java 19 Nov 2002 05:14:58 -0000 1.7
@@ -127,8 +127,8 @@
System.out.println("ERROR : " + ie);
return false;
- } catch (NullPointerException np) {
- System.out.println("ERROR : " + np);
+ } catch (NullPointerException e) {
+ System.out.println("ERROR : " + e);
System.out.println("No file destination given");
return false;
}
1.9 +3 -3 xml-xindice/java/src/org/apache/xindice/core/CollectionManager.java
Index: CollectionManager.java
===================================================================
RCS file: /home/cvs/xml-xindice/java/src/org/apache/xindice/core/CollectionManager.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- CollectionManager.java 31 Oct 2002 06:59:56 -0000 1.8
+++ CollectionManager.java 19 Nov 2002 05:14:58 -0000 1.9
@@ -255,8 +255,8 @@
collection.create();
collections.put(n, collection);
}
- catch ( DBException d ) {
- throw d;
+ catch ( DBException e ) {
+ throw e;
}
catch ( Exception e ) {
throw new DBException(FaultCodes.COL_CANNOT_CREATE, "Error Creating Collection '"+path+"'", e);