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

org.bidib.wizard.api.event.ErrorEvent Maven / Gradle / Ivy

The newest version!
package org.bidib.wizard.api.event;

import java.io.Serializable;

public class ErrorEvent implements Serializable {

    private static final long serialVersionUID = 1L;

    private final String connectionId;

    private final String message;

    private final String resourceKey;

    public ErrorEvent(final String connectionId, String message) {
        this(connectionId, message, null);
    }

    public ErrorEvent(final String connectionId, String message, String resourceKey) {
        this.connectionId = connectionId;
        this.message = message;
        this.resourceKey = resourceKey;
    }

    /**
     * @return the connectionId
     */
    public String getConnectionId() {
        return connectionId;
    }

    public String getMessage() {
        return message;
    }

    public String getResourceKey() {
        return resourceKey;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy