glyn 02/05/24 08:38:23
Modified: java/src/org/apache/axis/handlers/soap SOAPService.java
Log:
Provide diagnostics for class loading exceptions.
Revision Changes Path
1.60 +2 -0 xml-axis/java/src/org/apache/axis/handlers/soap/SOAPService.java
Index: SOAPService.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/handlers/soap/SOAPService.java,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- SOAPService.java 16 May 2002 17:45:00 -0000 1.59
+++ SOAPService.java 24 May 2002 15:38:23 -0000 1.60
@@ -281,6 +281,7 @@
jc = cache.lookup(clsName, cl);
serviceDescription.setImplClass(jc.getJavaClass());
} catch (ClassNotFoundException e) {
+ log.error(JavaUtils.getMessage("exception00"), e);
return null;
}
} else {
@@ -288,6 +289,7 @@
Class cls = cl.loadClass(clsName);
serviceDescription.setImplClass(cls);
} catch (ClassNotFoundException e) {
+ log.error(JavaUtils.getMessage("exception00"), e);
return null; // FIXME - throw?
}
}