io.elsci.signals.mock.exception.EntityNotFoundException Maven / Gradle / Ivy
package io.elsci.signals.mock.exception;
public class EntityNotFoundException extends RuntimeException {
public EntityNotFoundException(Class> clazz, String id) {
this("%s with id[%s] is not found", clazz.getSimpleName(), id);
}
public EntityNotFoundException(String format, Object... args) {
this(String.format(format, args));
}
public EntityNotFoundException(String message) {
super(message);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy