Resource[] getResources(Device device) throws RegistrationException { try { return registry.getConfiguration().getNamespace().getResources(device); } catch (ValidationException ex) { throw new RegistrationException("Resource discover error: " + ex.toString(), ex); } } }
log.warning("Cause was: " + ex.toString()); if (describedDevice != null && notifiedStart) getUpnpService().getRegistry().notifyDiscoveryFailure(describedDevice, ex);
log.fine("Validating remote device resource; " + deviceResource); if (registry.getResource(deviceResource.getPathQuery()) != null) { throw new RegistrationException("URI namespace conflict with already registered resource: " + deviceResource);
log.warning("Cause was: " + ex.toString()); if (describedDevice != null && notifiedStart) getUpnpService().getRegistry().notifyDiscoveryFailure(describedDevice, ex);
throw new RegistrationException("URI namespace conflict with already registered resource: " + deviceResource);
log.warning("Cause was: " + ex.toString()); if (describedDevice != null && notifiedStart) getUpnpService().getRegistry().notifyDiscoveryFailure(describedDevice, ex);
Resource[] getResources(Device device) throws RegistrationException { try { return registry.getConfiguration().getNamespace().getResources(device); } catch (ValidationException ex) { throw new RegistrationException("Resource discover error: " + ex.toString(), ex); } } }
log.fine("Validating remote device resource; " + deviceResource); if (registry.getResource(deviceResource.getPathQuery()) != null) { throw new RegistrationException("URI namespace conflict with already registered resource: " + deviceResource);
throw new RegistrationException("URI namespace conflict with already registered resource: " + deviceResource);
Resource[] getResources(Device device) throws RegistrationException { try { return registry.getConfiguration().getNamespace().getResources(device); } catch (ValidationException ex) { throw new RegistrationException("Resource discover error: " + ex.toString(), ex); } } }
log.fine("Validating remote device resource; " + deviceResource); if (registry.getResource(deviceResource.getPathQuery()) != null) { throw new RegistrationException("URI namespace conflict with already registered resource: " + deviceResource);
throw new RegistrationException("URI namespace conflict with already registered resource: " + deviceResource);