* XmlRpcFault is thrown by the client via XML-RPC
@see http://xmlrpc.sourceforge.net/javadoc/redstone/xmlrpc/XmlRpcFault.html
This commit is contained in:
parent
f902b04dee
commit
d1a880ba64
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue