private void checkContextRegistrationAttribute(ContextRegistrationAttribute attribute) throws MissingRequestParameterException { if ((attribute.getName() == null) || (attribute.getName().isEmpty())) { throw new MissingRequestParameterException("name", "string"); } if (attribute.getIsDomain() == null) { throw new MissingRequestParameterException("isDomain", "boolean"); } }
private void checkContextRegistrationAttribute(ContextRegistrationAttribute attribute) throws MissingRequestParameterException { if ((attribute.getName() == null) || (attribute.getName().isEmpty())) { throw new MissingRequestParameterException("name", "string"); } if (attribute.getIsDomain() == null) { throw new MissingRequestParameterException("isDomain", "boolean"); } }