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 Details

    • RepositoryConstraintViolationException

      public RepositoryConstraintViolationException(org.springframework.validation.Errors errors)
  • Method Details

    • getErrors

      public org.springframework.validation.Errors getErrors()