private void handleException(URI uri, RuntimeException e) {
        if (e instanceof UniformInterfaceException) {
            handleUniformInterfaceException(((UniformInterfaceException) e), uri);
        } else if (e instanceof ClientHandlerException) {
            handleClientHandlerException((ClientHandlerException) e, uri);
        } else {
            handleRuntimeException(e, uri);
        }
    }
Uses the {@link PayloadStorage} for downloading large payloads to be used by the client. Gets
the uri of the payload fom the server and then downloads from this location.

@param payloadType the {@link
    com.netflix.conductor.common.utils.ExternalPayloadStorage.PayloadType} to be downloaded
@param path the relative of the payload in external storage
@return the payload object that is stored in external storage
client/src/main/java/com/netflix/conductor/client/http/ClientBase.java