code: public static void validateAddress(String address) throws ServiceException {
          if (address == null || address.isEmpty()) {
              throw new ServiceException(
                      ErrorCode.SERVICE_INSTANCE_ADDRESS_FORMAT_ERROR);
          }
      }
docs: Validate the Service Instance address.
  
  It must be the ip address or hostname of the node.
  
  @param address
  the address.
  @throws ServiceException