Suppress socket exception

This commit is contained in:
M66B 2018-09-02 08:34:06 +00:00
parent c588640c7b
commit f634d57404
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.SocketException;
import java.net.SocketTimeoutException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
@ -359,6 +360,7 @@ public class ServiceSynchronize extends LifecycleService {
!(ex instanceof FolderClosedException) &&
!(ex instanceof IllegalStateException) &&
!(ex instanceof MessagingException && ex.getCause() instanceof ConnectionException) &&
!(ex instanceof MessagingException && ex.getCause() instanceof SocketException) &&
!(ex instanceof MessagingException && ex.getCause() instanceof SocketTimeoutException) &&
!(ex instanceof MessagingException && ex.getCause() instanceof SSLException)) {
String action;