code: public final void nextState (final IState newState) throws InternetSCSIException {
  
          this.state = newState;
          if (this.state != null) {
              do {
                  this.state.execute();
                  LOGGER.info("State is following: " + this.state.nextStateFollowing());
              } while (this.state.nextStateFollowing());
          }
  
      }
docs: Switch to the new state. Start point of the state pattern. All states are computed one after another.
  
  @param newState The new state.
  @throws InternetSCSIException of any kind