code: public static Integer positive(@Nullable String role, Integer x) {
  		if (x.intValue() <= 0) {
  			throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
  		}
  		return x;
  	}
docs: 校验为正数则返回该数字，否则抛出异常.