TSK-1421: Specific error message if classification already existing (#1462)

This commit is contained in:
tge20 2021-01-27 20:32:14 +01:00 committed by GitHub
parent 7e965a2709
commit a4b6dc464f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -8,12 +8,10 @@ public class ClassificationAlreadyExistException extends TaskanaException {
public ClassificationAlreadyExistException(Classification classification) {
super(
"ID='"
+ classification.getId()
+ "', KEY='"
"A classification with key '"
+ classification.getKey()
+ "', DOMAIN='"
+ "' already exists in domain '"
+ classification.getDomain()
+ "';");
+ "'.");
}
}