public static interface Connector.ErrorHandler extends EventHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
Connector.ErrorHandler.ErrorEvent
Fired on connection error.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(SessionObject sessionObject,
StreamError condition,
Throwable caught)
Called when ErrorEvent is fired.
|
void onError(SessionObject sessionObject, StreamError condition, Throwable caught) throws JaxmppException
sessionObject - session object related to connection.condition - XMPP error condition. null if error is not caused by stream.caught - exception. JaxmppExceptionCopyright © 2006–2020 Tigase. All rights reserved.