src/main/java/io/arivera/oss/embedded/rabbitmq/apache/commons/lang3/StopWatch.java
public void stop() {
    if (this.runningState != State.RUNNING && this.runningState != State.SUSPENDED) {
      throw new IllegalStateException("Stopwatch is not running. ");
    }
    if (this.runningState == State.RUNNING) {
      this.stopTime = System.nanoTime();
    }
    this.runningState = State.STOPPED;
  }
public void stop() {
    if (this.runningState != State.RUNNING && this.runningState != State.SUSPENDED) {
      throw new IllegalStateException("Stopwatch is not running. ");
    }
    if (this.runningState == State.RUNNING) {
      this.stopTime = System.nanoTime();
    }
    this.runningState = State.STOPPED;
  }
<p>
Stop the stopwatch.
</p>

<p>
This method ends a new timing session, allowing the time to be retrieved.
</p>

@throws IllegalStateException
if the StopWatch is not running.