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

io.gs2.core.model.AsyncResult Maven / Gradle / Ivy

The newest version!
package io.gs2.core.model;

import io.gs2.core.exception.Gs2Exception;

public class AsyncResult {

    private T result;
    private Gs2Exception error;

    public AsyncResult(T result, Gs2Exception error) {
        this.result = result;
        this.error = error;
    }

    public T getResult() {
        return result;
    }

    public Gs2Exception getError() {
        return error;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy