1 package de.larssh.jes; 2 3 import de.larssh.utils.text.Strings; 4 5 /** 6 * Thrown to indicate that fields of a {@link Job} or {@link JobOutput} object 7 * are inconsistent. 8 */ 9 public class JobFieldInconsistentException extends RuntimeException { 10 /** 11 * Constructs a new {@link JobFieldInconsistentException} with the given 12 * message, formatting as described at 13 * {@link Strings#format(String, Object...)}. 14 * 15 * @param message the detail message 16 * @param arguments arguments referenced by format specifiers in {@code message} 17 */ 18 public JobFieldInconsistentException(final String message, final Object... arguments) { 19 super(Strings.format(message, arguments), null); 20 } 21 }