com.gitlab.oliverlj.jsonapi.exceptions.UnprocessableEntityException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-starter-json-api Show documentation
Show all versions of spring-boot-starter-json-api Show documentation
A spring boot starter which brings json api converter (https://github.com/jasminb/jsonapi-converter) for your great spring project
The newest version!
package com.gitlab.oliverlj.jsonapi.exceptions;
import lombok.Getter;
/**
* A generic exception for an unprocessable entity.
*
* @author Olivier LE JACQUES ([email protected])
*
*/
@Getter
public class UnprocessableEntityException extends RuntimeException {
private static final long serialVersionUID = 4263597376937376571L;
private final String field;
public UnprocessableEntityException(String message) {
this("", message);
}
public UnprocessableEntityException(String field, String message) {
super(message);
this.field = field;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy