Package org.jivesoftware.smack.parsing
Class ExceptionThrowingCallback
java.lang.Object
org.jivesoftware.smack.parsing.ExceptionThrowingCallback
- All Implemented Interfaces:
ParsingExceptionCallback
- Direct Known Subclasses:
ExceptionThrowingCallbackWithHint
Parsing exception callback class that simply throws the encountered parsing exception. This usually leads to an
ConnectionListener.connectionClosedOnError(Exception)
and disconnect of the connection.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleUnparsableStanza
(UnparseableStanza packetData) Called when parsing a stanza caused an exception.
-
Constructor Details
-
ExceptionThrowingCallback
public ExceptionThrowingCallback()
-
-
Method Details
-
handleUnparsableStanza
Description copied from interface:ParsingExceptionCallback
Called when parsing a stanza caused an exception.- Specified by:
handleUnparsableStanza
in interfaceParsingExceptionCallback
- Parameters:
packetData
- the raw stanza data that caused the exception- Throws:
IOException
- if an I/O error occurred.
-