Smack

org.jivesoftware.smack.parsing
Class ExceptionLoggingCallback

java.lang.Object
  extended by org.jivesoftware.smack.parsing.ParsingExceptionCallback
      extended by org.jivesoftware.smack.parsing.ExceptionLoggingCallback

public class ExceptionLoggingCallback
extends ParsingExceptionCallback

Simple parsing exception callback that only logs the encountered parsing exception to stderr.

Author:
Florian Schmaus

Constructor Summary
ExceptionLoggingCallback()
           
 
Method Summary
 void handleUnparsablePacket(UnparsablePacket unparsed)
          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

ExceptionLoggingCallback

public ExceptionLoggingCallback()
Method Detail

handleUnparsablePacket

public void handleUnparsablePacket(UnparsablePacket unparsed)
                            throws Exception
Description copied from class: ParsingExceptionCallback
Called when parsing an message stanza caused an exception.

Overrides:
handleUnparsablePacket in class ParsingExceptionCallback
Parameters:
unparsed - the raw message stanza data that caused the exception
Throws:
Exception

Smack

Copyright © 2003-2007 Jive Software.