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