public Exception getException() {
    return exception;
  }
Gets the Throwable that was passed to {@link #onResponseComplete(Exception)}, if any.
@return the {@link Throwable} passed to {@link #onResponseComplete(Exception)}.
ambry-test-utils/src/main/java/com/github/ambry/rest/MockRestResponseChannel.java