Package org.jivesoftware.smack.parsing
Class ExceptionLoggingCallback
- java.lang.Object
-
- org.jivesoftware.smack.parsing.ExceptionLoggingCallback
-
- All Implemented Interfaces:
ParsingExceptionCallback
public class ExceptionLoggingCallback extends Object implements ParsingExceptionCallback
Simple parsing exception callback that only logs the encountered parsing exception to java util logging.
-
-
Constructor Summary
Constructors Constructor Description ExceptionLoggingCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleUnparsableStanza(UnparseableStanza unparsed)
Called when parsing a stanza caused an exception.
-
-
-
Constructor Detail
-
ExceptionLoggingCallback
public ExceptionLoggingCallback()
-
-
Method Detail
-
handleUnparsableStanza
public void handleUnparsableStanza(UnparseableStanza unparsed)
Description copied from interface:ParsingExceptionCallback
Called when parsing a stanza caused an exception.- Specified by:
handleUnparsableStanza
in interfaceParsingExceptionCallback
- Parameters:
unparsed
- the raw stanza data that caused the exception
-
-