throw new IllegalArgumentException("A uri must be specified"); if (Utility.stringIsNullOrEmpty(req.getBrokerHostname())) { throw new IllegalArgumentException("A hostname must be specified"); AuxHelper.CheckStatisticalPolicyAndCreate(req.getBrokerURI(), config, true, AuxHelper.UNSPECIFIED, req.getBrokerHostname()); } catch (Exception ex) { log.log(Level.DEBUG, null, ex); AuxHelper.TryUpdateStatus(req.isOperationalStatus(), req.getBrokerURI(), req.getOperationalStatusMessage(), true, PolicyType.STATISTICAL, "unspecified", req.getBrokerHostname());