public Exception getException() {
            return this.exception;
        }
Test cases for state-ful connections.
httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestStatefulConnManagement.java