mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-21 18:17:58 +01:00
[im] DirectoryRosterStore.readEntry() should also catch IllegalArgumentException
Fixes SMACK-897.
This commit is contained in:
parent
d64ee785bd
commit
40aa9e87b7
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ public final class DirectoryRosterStore implements RosterStore {
|
|||
Item item = RosterPacketProvider.parseItem(parser);
|
||||
reader.close();
|
||||
return item;
|
||||
} catch (XmlPullParserException | IOException e) {
|
||||
} catch (XmlPullParserException | IOException | IllegalArgumentException e) {
|
||||
boolean deleted = file.delete();
|
||||
String message = "Exception while parsing roster entry.";
|
||||
if (deleted) {
|
||||
|
|
Loading…
Reference in a new issue