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

io.webfolder.ui4j.spi.Ui4jExecutionTimeoutException Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
package io.webfolder.ui4j.spi;

import java.util.concurrent.TimeUnit;

import io.webfolder.ui4j.api.util.Ui4jException;

public class Ui4jExecutionTimeoutException extends Ui4jException {

    private int elapsedTime;

    private TimeUnit timeUnit;

    private static final long serialVersionUID = 1L;

    public Ui4jExecutionTimeoutException(InterruptedException e,
                        int elapsedTime, TimeUnit timeUnit) {
        super(e);
        this.elapsedTime = elapsedTime;
        this.timeUnit = timeUnit;
    }

    public int getElapsedTime() {
        return elapsedTime;
    }

    public TimeUnit getTimeUnit() {
        return timeUnit;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy