Smack

org.jivesoftware.smack.parsing
Class ExceptionThrowingCallback

java.lang.Object
  extended by org.jivesoftware.smack.parsing.ParsingExceptionCallback
      extended by 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

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

ExceptionThrowingCallback

public ExceptionThrowingCallback()
Method Detail

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

Smack

Copyright © 2003-2007 Jive Software.