aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/server/StreamingErrorEventImpl.java
blob: 7418867fc8306ccb2b00bb2746306a0d6f45f2bc (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
/*
@VaadinApache2LicenseForJavaFiles@
 */
package com.vaadin.terminal.gwt.server;

import com.vaadin.terminal.StreamVariable.StreamingErrorEvent;

@SuppressWarnings("serial")
final class StreamingErrorEventImpl extends AbstractStreamingEvent implements
        StreamingErrorEvent {

    private final Exception exception;

    public StreamingErrorEventImpl(final String filename, final String type,
            long contentLength, long bytesReceived, final Exception exception) {
        super(filename, type, contentLength, bytesReceived);
        this.exception = exception;
    }

    public final Exception getException() {
        return exception;
    }

}