don't capture class object in exception, GWT can't deal with generic class object

This commit is contained in:
Fredrik Teschke committed 2014-03-16 23:09:31 +01:00
1 parent 7080b706e9
commit 8028bb55b0
4 files changed
+7 -7

No files matched your search

@@ -40,7 +40,7 @@ public class CachedOsgiTypeBasedServiceFinder<ServiceT> implements ServiceTracke
if (fallback != null) {
return fallback;
} else {
throw new NoCorrespondingServiceRegisteredException("Could not find service", type, serviceType);
throw new NoCorrespondingServiceRegisteredException("Could not find service", type, serviceType.getSimpleName());
}
}