diff --git a/src/main/java/net/hostsharing/hsadminng/errors/RestResponseEntityExceptionHandler.java b/src/main/java/net/hostsharing/hsadminng/errors/RestResponseEntityExceptionHandler.java index 64b72ef8..31ab3647 100644 --- a/src/main/java/net/hostsharing/hsadminng/errors/RestResponseEntityExceptionHandler.java +++ b/src/main/java/net/hostsharing/hsadminng/errors/RestResponseEntityExceptionHandler.java @@ -132,7 +132,7 @@ public class RestResponseEntityExceptionHandler final HttpStatusCode status, final WebRequest request) { final var errorList = exc - .getAllValidationResults() // FIXME: deprecated + .getParameterValidationResults() .stream() .map(ParameterValidationResult::getResolvableErrors) .flatMap(Collection::stream)