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

com.clearlydecoded.messenger.exception.ValidationErrorInfo Maven / Gradle / Ivy

Go to download

Easily create and expose a Spring REST-based API implementation, without losing strong Java message typing, improving simplicity and robustness of your implementations. It's so easy to use, you can start implementing your production APIs in under 5 minutes.

There is a newer version: 2.2.2
Show newest version
package com.clearlydecoded.messenger.exception;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * {@link ValidationErrorInfo} class contains information about the validation error message
 * together with the name of the field that the validation failed on.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ValidationErrorInfo implements Serializable {

  /**
   * Field name the validation failed on.
   */
  private String field;

  /**
   * Validation error message for the field.
   */
  private String defaultMessage;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy