本文整理了Java中com.amazonaws.http.AmazonHttpClient.handleUnexpectedFailure()
方法的一些代码示例,展示了AmazonHttpClient.handleUnexpectedFailure()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AmazonHttpClient.handleUnexpectedFailure()
方法的具体详情如下:
包路径:com.amazonaws.http.AmazonHttpClient
类名称: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 {
内容来源于网络,如有侵权,请联系作者删除!