Interface ParsingExceptionCallback

All Known Implementing Classes:
ExceptionLoggingCallback

public interface ParsingExceptionCallback
Interface to receive parsing exceptions.

If this class is used as callback, then Smack will silently ignore the stanza that caused the parsing exception and place the parser after the faulty stanza.

Smack provides one predefined ParsingExceptionCallback's: ExceptionLoggingCallback.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when parsing a stanza caused an exception.
  • Method Details

    • handleUnparsableStanza

      void handleUnparsableStanza(UnparseableStanza stanzaData)
      Called when parsing a stanza caused an exception.
      Parameters:
      stanzaData - the raw stanza data that caused the exception