code: public function init()
      {
          parent::init();
          if ($this->workerId > self::MAX_WORKER_ID || $this->workerId < 0) {
              throw new Exception(sprintf("worker Id can't be greater than %d or less than 0",self::MAX_WORKER_ID));
          }
          if ($this->dataCenterId > self::MAX_DATA_CENTER_ID || $this->dataCenterId < 0) {
              throw new Exception(sprintf("dataCenterId can't be greater than %d or less than 0",self::MAX_DATA_CENTER_ID));
          }
      }
docs: 初始化
  @throws Exception