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

dev.sixpack.api.exception.ObtainFailedException Maven / Gradle / Ivy

The newest version!
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