public abstract class ParsingExceptionCallback extends Object
UnparsablePacket.getContent()
)
method.
Smack provides 2 predefined ParsingExceptionCallback's: ExceptionLoggingCallback
and ExceptionThrowingCallback
.Constructor and Description |
---|
ParsingExceptionCallback() |
Modifier and Type | Method and Description |
---|---|
void |
handleUnparsablePacket(UnparsablePacket stanzaData)
Called when parsing an message stanza caused an exception.
|
public void handleUnparsablePacket(UnparsablePacket stanzaData) throws Exception
stanzaData
- the raw message stanza data that caused the exceptionException
Copyright © 2016. All rights reserved.