Package org.mozilla.geckoview
Interface GeckoResult.OnExceptionListener<V>
- Type Parameters:
V- Type of the vale for the result returned fromonException(Throwable)
- Enclosing class:
- GeckoResult<T>
public static interface GeckoResult.OnExceptionListener<V>
An interface used to deliver exceptions to listeners of a
GeckoResult-
Method Summary
Modifier and TypeMethodDescriptiononException(Throwable exception) Called when aGeckoResultis completed with an exception.
-
Method Details
-
onException
Called when aGeckoResultis completed with an exception. Will be called on the same thread where the GeckoResult was created or on theHandlerprovided viaGeckoResult.withHandler(Handler).- Parameters:
exception- Exception that completed the result.- Returns:
- Result used to complete the next result in the chain. May be null.
- Throws:
Throwable- Exception used to complete next result in the chain.
-