summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/server/ChangeVariablesErrorEvent.java
blob: b6576dce9f7300528dea69bbb1280b947b6d1f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
@VaadinApache2LicenseForJavaFiles@
 */
package com.vaadin.terminal.gwt.server;

import java.util.Map;

import com.vaadin.ui.AbstractComponent.ComponentErrorEvent;
import com.vaadin.ui.Component;

@SuppressWarnings("serial")
public class ChangeVariablesErrorEvent implements ComponentErrorEvent {

    private Throwable throwable;
    private Component component;

    private Map<String, Object> variableChanges;

    public ChangeVariablesErrorEvent(Component component, Throwable throwable,
            Map<String, Object> variableChanges) {
        this.component = component;
        this.throwable = throwable;
        this.variableChanges = variableChanges;
    }

    public Throwable getThrowable() {
        return throwable;
    }

    public Component getComponent() {
        return component;
    }

    public Map<String, Object> getVariableChanges() {
        return variableChanges;
    }

}