private BeanstreamApiException mappedException(int status, BeanstreamResponse bsRes) {
        
        if (bsRes != null) {
            return BeanstreamApiException.getMappedException(status, bsRes);
        }
			
        return BeanstreamApiException.getMappedException(status);
    }