All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.jhipster.lite.shared.error.domain.AssertionException Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
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();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy