com.sageserpent.americium.java.RecipeIsNotPresentException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of americium_3 Show documentation
Show all versions of americium_3 Show documentation
Generation of test data for parameterised testing
The newest version!
package com.sageserpent.americium.java;
import java.nio.file.Path;
public class RecipeIsNotPresentException extends RuntimeException {
public RecipeIsNotPresentException(String recipeHash, Path databasePath) {
super(String.format(
"No recipe found for recipe hash: %s.\nHas the directory " +
"containing the RocksDB instance for recipes at %s been " +
"deleted?\nEither regenerate the recipe by running the test " +
"without Java property `trials.recipeHash`, or use `trials" +
".recipe` with the full recipe JSON.",
recipeHash,
databasePath));
}
}