Skip to content

Commit 590c4a2

Browse files
committed
rm TypeMismatchException
Signed-off-by: Etienne Homer <[email protected]>
1 parent ed793bb commit 590c4a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/gridsuite/useradmin/server/RestResponseEntityExceptionHandler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
*/
77
package org.gridsuite.useradmin.server;
88

9-
import org.springframework.beans.TypeMismatchException;
109
import org.springframework.http.HttpStatus;
1110
import org.springframework.http.ResponseEntity;
1211
import org.springframework.web.bind.annotation.ControllerAdvice;
@@ -20,7 +19,7 @@
2019
@ControllerAdvice
2120
public class RestResponseEntityExceptionHandler {
2221

23-
@ExceptionHandler(value = { UserAdminException.class, TypeMismatchException.class })
22+
@ExceptionHandler(value = { UserAdminException.class })
2423
protected ResponseEntity<Object> handleException(RuntimeException exception) {
2524
if (exception instanceof UserAdminException) {
2625
UserAdminException userAdminException = (UserAdminException) exception;

0 commit comments

Comments
 (0)