com.alon.spring.crud.domain.service.exception.DataIntegrityException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crud-api-base Show documentation
Show all versions of crud-api-base Show documentation
Fornece implementação básica e expansível para criação API's CRUD com Spring Boot e Spring Data JPA.
package com.alon.spring.crud.domain.service.exception;
public class DataIntegrityException extends CrudException {
private static final long serialVersionUID = 1L;
public DataIntegrityException() {
super();
}
public DataIntegrityException(String message, Throwable cause, boolean enableSuppression,
boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
public DataIntegrityException(String message, Throwable cause) {
super(message, cause);
}
public DataIntegrityException(String message) {
super(message);
}
public DataIntegrityException(Throwable cause) {
super(cause);
}
}