本文整理了Java中com.amazonaws.http.StaxResponseHandler.handleXmlStreamException()
方法的一些代码示例,展示了StaxResponseHandler.handleXmlStreamException()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。StaxResponseHandler.handleXmlStreamException()
方法的具体详情如下:
包路径:com.amazonaws.http.StaxResponseHandler
类名称:StaxResponseHandler
方法名:handleXmlStreamException
[英]If the exception was caused by an IOException, wrap it an another IOE so that it will be exposed to the RetryPolicy.
[中]如果异常是由IOException引起的,请将其包装为另一个IOE,以便将其暴露于RetryPolicy。
代码示例来源:origin: aws/aws-sdk-java
eventReader = XmlUtils.getXmlInputFactory().createXMLEventReader(content);
} catch (XMLStreamException e) {
throw handleXmlStreamException(e);
return awsResponse;
} catch (XMLStreamException e) {
throw handleXmlStreamException(e);
} finally {
try {
代码示例来源:origin: com.amazonaws/aws-java-sdk-core
eventReader = XmlUtils.getXmlInputFactory().createXMLEventReader(content);
} catch (XMLStreamException e) {
throw handleXmlStreamException(e);
return awsResponse;
} catch (XMLStreamException e) {
throw handleXmlStreamException(e);
} finally {
try {
代码示例来源:origin: Nextdoor/bender
eventReader = xmlInputFactory.createXMLEventReader(content);
} catch (XMLStreamException e) {
throw handleXmlStreamException(e);
return awsResponse;
} catch (XMLStreamException e) {
throw handleXmlStreamException(e);
} finally {
try {
内容来源于网络,如有侵权,请联系作者删除!