io.alphatier.java.CommitRejectedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alphatier-java Show documentation
Show all versions of alphatier-java Show documentation
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.
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 +
'}';
}
}