|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smack.parsing.ParsingExceptionCallback org.jivesoftware.smack.parsing.ExceptionThrowingCallback
public class ExceptionThrowingCallback
Parsing exception callback class that simply throws the encountered parsing exception. This usually leads to an
ConnectionListener.connectionClosedOnError(Exception)
disconnect of the connection.
Constructor Summary | |
---|---|
ExceptionThrowingCallback()
|
Method Summary | |
---|---|
void |
handleUnparsablePacket(UnparsablePacket packetData)
Called when parsing an message stanza caused an exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionThrowingCallback()
Method Detail |
---|
public void handleUnparsablePacket(UnparsablePacket packetData) throws java.lang.Exception
ParsingExceptionCallback
handleUnparsablePacket
in class ParsingExceptionCallback
packetData
- the raw message stanza data that caused the exception
java.lang.Exception
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |