Browse Source

UnsupportedEncodingException extends IOException

Refs #37
main
M66B 6 years ago
parent
commit
9967118a2f
2 changed files with 4 additions and 1 deletions
  1. +4
    -0
      app/src/main/java/eu/faircode/email/MessageHelper.java
  2. +0
    -1
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 4
- 0
app/src/main/java/eu/faircode/email/MessageHelper.java View File

@ -293,6 +293,8 @@ public class MessageHelper {
} else
return getHtml(bp);
}
} catch (UnsupportedEncodingException ex) {
throw ex;
} catch (IOException ex) {
Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));
}
@ -307,6 +309,8 @@ public class MessageHelper {
if (s != null)
return s;
}
} catch (UnsupportedEncodingException ex) {
throw ex;
} catch (IOException ex) {
Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));
}


+ 0
- 1
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -475,7 +475,6 @@ public class ServiceSynchronize extends LifecycleService {
synchronizeMessage(folder, ifolder, (IMAPMessage) imessage);
} catch (MessageRemovedException ex) {
Log.w(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));
}
} catch (Throwable ex) {
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));


Loading…
Cancel
Save