Add constraint to the database column maxAssignment

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
This commit is contained in:
Melanie Retter
2016-08-23 16:10:27 +02:00
parent 42b21d6308
commit 2ae08ffaef
8 changed files with 78 additions and 23 deletions

View File

@@ -9,11 +9,7 @@
package org.eclipse.hawkbit.exception;
/**
*
*
*
* Generic Custom Exception to wrap the Runtime and checked exception
*
*/
public abstract class AbstractServerRtException extends RuntimeException {

View File

@@ -9,11 +9,7 @@
package org.eclipse.hawkbit.exception;
/**
*
*
*
* Define the Error code for Error handling
*
*/
public enum SpServerError {
@@ -25,7 +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 violates a constraint"),
/**
*
*/