code: public void setPriority(int priority) throws IllegalArgumentException {
          if (priority < Thread.MIN_PRIORITY || priority > Thread.MAX_PRIORITY) {
              throw new IllegalArgumentException
                  ("Priority out of range: " + priority);
          }
  
          synchronized (mPool) {
              mPriority = priority;
          }
      }
docs: Sets the priority given to each thread in the pool.
  
  @throws IllegalArgumentException if priority is out of range