tech.jhipster.lite.shared.error.domain.AssertionException Maven / Gradle / Ivy
package tech.jhipster.lite.shared.error.domain;
import java.util.Map;
public abstract class AssertionException extends RuntimeException {
private final String field;
protected AssertionException(String field, String message) {
super(message);
this.field = field;
}
public abstract AssertionErrorType type();
public String field() {
return field;
}
public Map parameters() {
return Map.of();
}
}