File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/java/org/gridsuite/useradmin/server Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
package org .gridsuite .useradmin .server ;
8
8
9
- import org .springframework .beans .TypeMismatchException ;
10
9
import org .springframework .http .HttpStatus ;
11
10
import org .springframework .http .ResponseEntity ;
12
11
import org .springframework .web .bind .annotation .ControllerAdvice ;
20
19
@ ControllerAdvice
21
20
public class RestResponseEntityExceptionHandler {
22
21
23
- @ ExceptionHandler (value = { UserAdminException .class , TypeMismatchException . class })
22
+ @ ExceptionHandler (value = { UserAdminException .class })
24
23
protected ResponseEntity <Object > handleException (RuntimeException exception ) {
25
24
if (exception instanceof UserAdminException ) {
26
25
UserAdminException userAdminException = (UserAdminException ) exception ;
You can’t perform that action at this time.
0 commit comments