T
- the result typepublic class ErrorHandlingResultCallback<T> extends java.lang.Object implements SingleResultCallback<T>
Modifier and Type | Method and Description |
---|---|
static <T> SingleResultCallback<T> |
errorHandlingCallback(SingleResultCallback<T> callback,
Logger logger) |
void |
onResult(T result,
java.lang.Throwable t)
Called when the operation completes.
|
public static <T> SingleResultCallback<T> errorHandlingCallback(SingleResultCallback<T> callback, Logger logger)
public void onResult(T result, java.lang.Throwable t)
SingleResultCallback
onResult
in interface SingleResultCallback<T>
result
- the result, which may be null. Always null if e is not null.t
- the throwable, or null if the operation completed normallyCopyright © 2010 - 2020 Adobe. All Rights Reserved