Fixed exception type

This commit is contained in:
M66B 2019-06-01 16:19:24 +02:00
parent a312f6ce4d
commit d03d87ca4d
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,7 @@ public class MessageHelper {
return new Address[]{new InternetAddress(to.getTo().split(",")[0])};
} catch (android.net.ParseException ex) {
throw new ParseException(list);
throw new IllegalArgumentException(list, ex);
}
} catch (android.net.ParseException ex) {
Log.w(ex);