org.jivesoftware.smack.parsing
Class ExceptionThrowingCallback
java.lang.Object
org.jivesoftware.smack.parsing.ParsingExceptionCallback
org.jivesoftware.smack.parsing.ExceptionThrowingCallback
public class ExceptionThrowingCallback
- extends ParsingExceptionCallback
Parsing exception callback class that simply throws the encountered parsing exception. This usually leads to an
ConnectionListener.connectionClosedOnError(Exception)
disconnect of the connection.
- Author:
- Florian Schmaus
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionThrowingCallback
public ExceptionThrowingCallback()
handleUnparsablePacket
public void handleUnparsablePacket(UnparsablePacket packetData)
throws Exception
- Description copied from class:
ParsingExceptionCallback
- Called when parsing an message stanza caused an exception.
- Overrides:
handleUnparsablePacket
in class ParsingExceptionCallback
- Parameters:
packetData
- the raw message stanza data that caused the exception
- Throws:
Exception
Copyright © 2003-2007 Jive Software.