aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/model/BaseAsyncCallback.java
blob: 2cc8741bb41b21033b6faa62914b93f4f03b17f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package org.traccar.web.client.model;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.sencha.gxt.widget.core.client.box.AlertMessageBox;

public class BaseAsyncCallback<T> implements AsyncCallback<T> {

    @Override
    public void onFailure(Throwable caught) {
        new AlertMessageBox("Error", "Remote procedure call error").show();
    }

    @Override
    public void onSuccess(T result) {
    }

}