private <TResponse> TResponse executeApiCall(AuthleteApiCall<TResponse> apiCall) throws AuthleteApiException
    {
        try
        {
            // Call the Authlete API.
            return apiCall.call();
        }
        catch (WebApplicationException e)
        {
            // Throw an exception with HTTP response information.
            throw createApiException(e, e.getResponse());
        }
        catch (ResponseProcessingException e)
        {
            // Throw an exception with HTTP response information.
            throw createApiException(e, e.getResponse());
        }
        catch (Throwable t)
        {
            // Throw an exception without HTTP response information.
            throw createApiException(t, null);
        }
    }
private <TResponse> TResponse executeApiCall(AuthleteApiCall<TResponse> apiCall) throws AuthleteApiException
    {
        try
        {
            
            return apiCall.call();
        }
        catch (WebApplicationException e)
        {
            
            throw createApiException(e, e.getResponse());
        }
        catch (ResponseProcessingException e)
        {
            
            throw createApiException(e, e.getResponse());
        }
        catch (Throwable t)
        {
            
            throw createApiException(t, null);
        }
    }
private < TResponse > TResponse executeApiCall ( AuthleteApiCall < TResponse > apiCall ) throws AuthleteApiException { try { // Call the Authlete API. return apiCall . call ( ) ; } catch ( WebApplicationException e ) { // Throw an exception with HTTP response information. throw createApiException ( e , e . getResponse ( ) ) ; } catch ( ResponseProcessingException e ) { // Throw an exception with HTTP response information. throw createApiException ( e , e . getResponse ( ) ) ; } catch ( Throwable t ) { // Throw an exception without HTTP response information. throw createApiException ( t , null ) ; } }
Execute an Authlete API call.
Execute an Authlete API call .