Fixed error message when network fails to implement

This commit is contained in:
Alena Prokharchyk 2011-12-29 11:17:44 -08:00
parent 9c8f989d6b
commit e4debe7af4

View File

@ -125,7 +125,7 @@ public class NetworkServiceMapDaoImpl extends GenericDaoBase<NetworkServiceMapVO
sc.setParameters("service", service.getName());
NetworkServiceMapVO ntwkSvc = findOneBy(sc);
if (ntwkSvc == null) {
throw new UnsupportedServiceException("Service " + service + " is not supported in the network id=" + networkId);
throw new UnsupportedServiceException("Service " + service.getName() + " is not supported in the network id=" + networkId);
}
return ntwkSvc.getProvider();