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

ai.stapi.graphsystem.commandvalidation.infrastructure.operationdefinition.MissingRequiredFieldCommandViolation Maven / Gradle / Ivy

package ai.stapi.graphsystem.commandvalidation.infrastructure.operationdefinition;

import ai.stapi.graphsystem.commandvalidation.model.AbstractCommandConstrainViolation;
import ai.stapi.graphsystem.commandvalidation.model.fieldPath.CommandViolationFieldPath;

public class MissingRequiredFieldCommandViolation extends AbstractCommandConstrainViolation {

  public MissingRequiredFieldCommandViolation(
      String commandName,
      CommandViolationFieldPath fieldPath
  ) {
    super(commandName, fieldPath, Level.ERROR);
  }

  @Override
  protected String getBecauseMessage() {
    return "Required field is missing.";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy