io.github.sinri.keel.facade.async.FailedInParallel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Keel Show documentation
Show all versions of Keel Show documentation
A website framework with VERT.X for ex-PHP-ers, exactly Ark Framework Users.
The newest version!
package io.github.sinri.keel.facade.async;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.List;
/**
* @since 2.9.4
*/
public class FailedInParallel extends Exception {
private final @Nonnull List causes;
public FailedInParallel(@Nonnull List causes) {
super("Totally " + causes.size() + " cause(s).");
this.causes = causes;
}
public @Nonnull List getCauses() {
return causes;
}
public @Nullable Throwable getCauseAt(int i) {
return causes.get(i);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy