Package org.jivesoftware.smack.parsing
Class ExceptionThrowingCallback
- java.lang.Object
-
- org.jivesoftware.smack.parsing.ExceptionThrowingCallback
-
- All Implemented Interfaces:
ParsingExceptionCallback
- Direct Known Subclasses:
ExceptionThrowingCallbackWithHint
public class ExceptionThrowingCallback extends Object implements ParsingExceptionCallback
Parsing exception callback class that simply throws the encountered parsing exception. This usually leads to anConnectionListener.connectionClosedOnError(Exception)
and disconnect of the connection.
-
-
Constructor Summary
Constructors Constructor Description ExceptionThrowingCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleUnparsableStanza(UnparseableStanza packetData)
Called when parsing a stanza caused an exception.
-
-
-
Constructor Detail
-
ExceptionThrowingCallback
public ExceptionThrowingCallback()
-
-
Method Detail
-
handleUnparsableStanza
public void handleUnparsableStanza(UnparseableStanza packetData) throws IOException
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.
-
-