ozeigermann 2004/07/14 03:09:18
Modified: webdavclient/connector/src/java/org/apache/webdav/connector
WebDAVManagedConnectionFactory.java
Log:
Made it J2EE 1.3 compatible
Revision Changes Path
1.3 +10 -6
jakarta-slide/webdavclient/connector/src/java/org/apache/webdav/connector/WebDAVManagedConnectionFactory.java
Index: WebDAVManagedConnectionFactory.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/webdavclient/connector/src/java/org/apache/webdav/connector/WebDAVManagedConnectionFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- WebDAVManagedConnectionFactory.java 13 Jul 2004 14:13:16 -0000 1.2
+++ WebDAVManagedConnectionFactory.java 14 Jul 2004 10:09:17 -0000 1.3
@@ -76,13 +76,17 @@
writer.println("Exception: " + e);
e.printStackTrace(writer);
}
- throw new ResourceException("Could not create managed connection", e);
+ // XXX only in 1.4
+// throw new ResourceException("Could not create managed connection", e);
+ throw new ResourceException("Could not create managed connection",
e.toString());
} catch (IOException e) {
if (writer != null) {
writer.println("Exception: " + e);
e.printStackTrace(writer);
}
- throw new ResourceException("Could not create managed connection", e);
+ // XXX only in 1.4
+// throw new ResourceException("Could not create managed connection", e);
+ throw new ResourceException("Could not create managed connection",
e.toString());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]