Skip to content

Commit

Permalink
BindException declared but not handled by ExceptionHandler
Browse files Browse the repository at this point in the history
Closes gh-34214

Signed-off-by: Mengqi Xu <[email protected]>
  • Loading branch information
remeio authored and bclozel committed Jan 8, 2025
1 parent 9173e13 commit 53b3b93
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -33,7 +33,6 @@
import org.springframework.http.converter.HttpMessageNotReadableException;
import org.springframework.http.converter.HttpMessageNotWritableException;
import org.springframework.lang.Nullable;
import org.springframework.validation.BindException;
import org.springframework.validation.method.MethodValidationException;
import org.springframework.web.ErrorResponse;
import org.springframework.web.ErrorResponseException;
Expand Down Expand Up @@ -136,7 +135,6 @@ protected MessageSource getMessageSource() {
HttpMessageNotReadableException.class,
HttpMessageNotWritableException.class,
MethodValidationException.class,
BindException.class,
AsyncRequestNotUsableException.class
})
@Nullable
Expand Down

0 comments on commit 53b3b93

Please sign in to comment.