mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +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