add separator to several validation failures

This commit is contained in:
kimchy 2011-06-12 10:34:42 +03:00
parent eca244054f
commit fd80fcbca0
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class ActionRequestValidationException extends ElasticSearchException {
sb.append("Validation Failed: "); sb.append("Validation Failed: ");
int index = 0; int index = 0;
for (String error : validationErrors) { for (String error : validationErrors) {
sb.append(++index).append(": ").append(error); sb.append(++index).append(": ").append(error).append(";");
} }
return sb.toString(); return sb.toString();
} }