mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
Add IllegalArgumentException to parsing exceptions
As it is thrown by many Element constructors.
This commit is contained in:
parent
944dd71976
commit
851bd3c5dd
1 changed files with 1 additions and 1 deletions
|
@ -1256,7 +1256,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
|
||||||
try {
|
try {
|
||||||
stanza = PacketParserUtils.parseStanza(parser, incomingStreamXmlEnvironment);
|
stanza = PacketParserUtils.parseStanza(parser, incomingStreamXmlEnvironment);
|
||||||
}
|
}
|
||||||
catch (XmlPullParserException | SmackParsingException | IOException e) {
|
catch (XmlPullParserException | SmackParsingException | IOException | IllegalArgumentException e) {
|
||||||
CharSequence content = PacketParserUtils.parseContentDepth(parser,
|
CharSequence content = PacketParserUtils.parseContentDepth(parser,
|
||||||
parserDepth);
|
parserDepth);
|
||||||
UnparseableStanza message = new UnparseableStanza(content, e);
|
UnparseableStanza message = new UnparseableStanza(content, e);
|
||||||
|
|
Loading…
Reference in a new issue