com.clearlydecoded.messenger.exception.ValidationErrorInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-messenger Show documentation
Show all versions of rest-messenger Show documentation
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.
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