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

io.alphatier.java.CommitRejectedException Maven / Gradle / Ivy

Go to download

Alphatier is a resource management library. It is designed to allow different schedulers to share the resources of a pool of executors in order to execute tasks with those.

There is a newer version: 0.2.0
Show newest version
package io.alphatier.java;

public final class CommitRejectedException extends Exception {
    private final CommitResult result;

    public CommitRejectedException(final String message, final CommitResult result) {
        super(message);
        this.result = result;
    }

    public CommitResult getResult() {
        return result;
    }

    @Override
    public String toString() {
        return "CommitRejectedException{" +
                "message=" + getMessage() +
                ", result=" + result +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy