misleading message when class not found This closes
@@ -589,8 +589,7 @@ public class ServiceImpl extends ServiceDelegate {
try {
seiClass = Thread.currentThread().getContextClassLoader().loadClass(epi);
} catch (ClassNotFoundException e) {
- Message msg = new Message("COULD_NOT_LOAD_CLASS", BUNDLE,
- seiClass.getCanonicalName());
+ Message msg = new Message("COULD_NOT_LOAD_CLASS", BUNDLE, epi);
throw new WebServiceException(msg.toString());
}
if (!seiClass.isAnnotationPresent(javax.jws.WebService.class)) {
