V
- public abstract static class SmackFuture.SimpleInternalProcessStanzaSmackFuture<V,E extends Exception> extends SmackFuture.InternalProcessStanzaSmackFuture<V,E>
false
method.SmackFuture.InternalProcessStanzaSmackFuture<V,E extends Exception>, SmackFuture.InternalSmackFuture<V,E extends Exception>, SmackFuture.SimpleInternalProcessStanzaSmackFuture<V,E extends Exception>
exception, result
Constructor and Description |
---|
SimpleInternalProcessStanzaSmackFuture() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isNonFatalException(E exception)
This method checks if the given exception is not fatal.
|
handleStanza, processException, processStanza
setException, setResult
cancel, from, get, get, getOrThrow, isCancelled, isDone, maybeInvokeCallbacks, onError, onSuccess
public SimpleInternalProcessStanzaSmackFuture()
protected boolean isNonFatalException(E exception)
SmackFuture.InternalProcessStanzaSmackFuture
false
,
then the future will automatically set the given exception as failure reason and notify potential waiting
threads.isNonFatalException
in class SmackFuture.InternalProcessStanzaSmackFuture<V,E extends Exception>
exception
- the exception to check.true
if the exception is not fatal, false
otherwise.