dev.sixpack.api.exception.ObtainFailedException Maven / Gradle / Ivy
package dev.sixpack.api.exception;
import static dev.sixpack.utils.FormatUtils.mFormat;
public class ObtainFailedException extends RuntimeException {
public ObtainFailedException(String message, String targetSupplier, String targetItem) {
super(mFormat("Obtain from supplier: '{}', item: '{}'. Received message: '{}'", targetSupplier, targetItem, message));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy