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

org.gridkit.jvmtool.event.SimpleErrorEvent Maven / Gradle / Ivy

package org.gridkit.jvmtool.event;

public class SimpleErrorEvent implements ErrorEvent {

    private final Exception error;

    public SimpleErrorEvent(Exception e) {
        this.error = e;
    }

    @Override
    public String message() {
        return error.getMessage();
    }

    @Override
    public Exception exception() {
        return error;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy