Class ErrorHandlingResultCallback<T>

  • Type Parameters:
    T - the result type
    All Implemented Interfaces:
    SingleResultCallback<T>

    @Deprecated(since="2021-05-27")
    public class ErrorHandlingResultCallback<T>
    extends java.lang.Object
    implements SingleResultCallback<T>
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    This class is not part of the public API and may be removed or changed at any time.
    • Method Detail

      • onResult

        public void onResult​(T result,
                             java.lang.Throwable t)
        Deprecated.
        Description copied from interface: SingleResultCallback
        Called when the operation completes.
        Specified by:
        onResult in interface SingleResultCallback<T>
        Parameters:
        result - the result, which may be null. Always null if e is not null.
        t - the throwable, or null if the operation completed normally