All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bronto.api.AsyncVoidHandler Maven / Gradle / Ivy

The newest version!
package com.bronto.api;

public abstract class AsyncVoidHandler implements AsyncHandler {
    @Override
    public Void onSuccess(T result) {
        onComplete(result);
        return null;
    }

    @Override
    public void onError(Exception e) {
        throw new RuntimeException(e);
    }

    public abstract void onComplete(T result);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy