io.axway.iron.error.ObjectNotFoundException Maven / Gradle / Ivy
package io.axway.iron.error;
import java.util.*;
/**
* This exception is thrown when a mandatory select operation didn't found the required entity instance.
*/
public class ObjectNotFoundException extends StoreException {
public ObjectNotFoundException(String entityName, String uniqueName, Object uniqueValue) {
this(entityName, List.of(uniqueName), List.of(uniqueValue));
}
public ObjectNotFoundException(String entityName, List uniqueNames, List> uniquesValues) {
super("Object not found", args -> args.add("entityName", entityName).add("uniqueNames", uniqueNames).add("uniqueValues", uniquesValues));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy