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

com.gitlab.oliverlj.jsonapi.exceptions.UnprocessableEntityException Maven / Gradle / Ivy

Go to download

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