* XmlRpcFault is thrown by the client via XML-RPC

@see http://xmlrpc.sourceforge.net/javadoc/redstone/xmlrpc/XmlRpcFault.html
This commit is contained in:
Reinhard Pointner 2014-01-06 20:45:32 +00:00
parent f902b04dee
commit d1a880ba64
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ public class OpenSubtitlesClient implements SubtitleProvider, VideoHashSubtitleS
Thread.sleep(retryWaitTime);
}
return super.invoke(method, arguments);
} catch (XmlRpcFault | XmlRpcException e) {
} catch (XmlRpcException e) {
IOException ioException = ExceptionUtilities.findCause(e, IOException.class);
if (ioException == null || i >= 0 && i >= retryCountLimit) {
throw e;