Insert custom constraintViolationException

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
This commit is contained in:
Melanie Retter
2016-08-24 13:07:37 +02:00
parent 3ac8dc93a3
commit 679f465db1
3 changed files with 51 additions and 2 deletions

View File

@@ -21,6 +21,10 @@ public enum SpServerError {
*
*/
SP_REPO_ENTITY_ALRREADY_EXISTS("hawkbit.server.error.repo.entitiyAlreayExists", "The given entity already exists in database"),
/**
*
*/
SP_REPO_CONSTRAINT_VIOLATION("hawkbit.server.error.repo.constraintViolation", "The given entity cannot be saved due to Constraint Violation"),
/**
*
*/