com.amazonaws.http.AmazonHttpClient.handleUnexpectedFailure()方法的使用及代码示例

x33g5p2x  于2022-01-15 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(98)

本文整理了Java中com.amazonaws.http.AmazonHttpClient.handleUnexpectedFailure()方法的一些代码示例,展示了AmazonHttpClient.handleUnexpectedFailure()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AmazonHttpClient.handleUnexpectedFailure()方法的具体详情如下:
包路径:com.amazonaws.http.AmazonHttpClient
类名称:AmazonHttpClient
方法名:handleUnexpectedFailure

AmazonHttpClient.handleUnexpectedFailure介绍

[英]Handles an unexpected failure, returning the Throwable instance as given.
[中]处理意外故障,返回给定的可丢弃实例。

代码示例

代码示例来源:origin: aws-amplify/aws-sdk-android

resetRequestAfterError(request, ioe);
} catch (final RuntimeException e) {
  throw handleUnexpectedFailure(e, awsRequestMetrics);
} catch (final Error e) {
  throw handleUnexpectedFailure(e, awsRequestMetrics);
} finally {

代码示例来源:origin: com.gluonhq/aws-java-sdk-core

resetRequestAfterError(request, ioe);
} catch (final RuntimeException e) {
  throw handleUnexpectedFailure(e, awsRequestMetrics);
} catch (final Error e) {
  throw handleUnexpectedFailure(e, awsRequestMetrics);
} finally {

代码示例来源:origin: com.amazonaws/aws-android-sdk-core

resetRequestAfterError(request, ioe);
} catch (final RuntimeException e) {
  throw handleUnexpectedFailure(e, awsRequestMetrics);
} catch (final Error e) {
  throw handleUnexpectedFailure(e, awsRequestMetrics);
} finally {

相关文章