Class RepositoryConstraintViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.DataIntegrityViolationException
org.springframework.data.rest.core.RepositoryConstraintViolationException
- All Implemented Interfaces:
Serializable
public class RepositoryConstraintViolationException
extends org.springframework.dao.DataIntegrityViolationException
Exception that is thrown when a Spring
Validator
throws an error.- Author:
- Jon Brisbin
- See Also:
-
Constructor Summary
ConstructorDescriptionRepositoryConstraintViolationException
(org.springframework.validation.Errors errors) -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RepositoryConstraintViolationException
public RepositoryConstraintViolationException(org.springframework.validation.Errors errors)
-
-
Method Details
-
getErrors
public org.springframework.validation.Errors getErrors()
-