Interface ParsingExceptionCallback

All Known Implementing Classes:
ExceptionLoggingCallback, ExceptionThrowingCallback, ExceptionThrowingCallbackWithHint

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 2 predefined ParsingExceptionCallback's: ExceptionLoggingCallback and ExceptionThrowingCallback.

  • Method Summary

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