com.github.phillipkruger.apiee.providers.ValidationError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apiee-providers Show documentation
Show all versions of apiee-providers Show documentation
Some general Exception mappers
package com.github.phillipkruger.apiee.providers;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* Simple POJO that defines a Error
* @author Phillip Kruger ([email protected])
*/
@Data
@AllArgsConstructor @NoArgsConstructor
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class ValidationError {
@XmlAttribute
@Getter @Setter
private String message;
@XmlAttribute
@Getter @Setter
private String path = "";
@XmlAttribute
@Getter @Setter
private String invalidValue = "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy