Merge branch '6.2.x'

This commit is contained in:
Brian Clozel
2025-01-08 16:34:46 +01:00

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2024 the original author or authors.
* Copyright 2002-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,7 +33,6 @@ import org.springframework.http.ProblemDetail;
import org.springframework.http.ResponseEntity;
import org.springframework.http.converter.HttpMessageNotReadableException;
import org.springframework.http.converter.HttpMessageNotWritableException;
import org.springframework.validation.BindException;
import org.springframework.validation.method.MethodValidationException;
import org.springframework.web.ErrorResponse;
import org.springframework.web.ErrorResponseException;
@@ -134,7 +133,6 @@ public abstract class ResponseEntityExceptionHandler implements MessageSourceAwa
HttpMessageNotReadableException.class,
HttpMessageNotWritableException.class,
MethodValidationException.class,
BindException.class,
AsyncRequestNotUsableException.class
})
public final @Nullable ResponseEntity<Object> handleException(Exception ex, WebRequest request) throws Exception {