You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class GlobalControllerExceptionHandler {
@ResponseStatus(HttpStatus.BAD_REQUEST)
public String handleException(final Exception ex) {
return ex.getMessage();
}
HttpStatusdo not contains the enum value BAD_REQUEST
The text was updated successfully, but these errors were encountered:
E.g:
HttpStatus
do not contains the enum valueBAD_REQUEST
The text was updated successfully, but these errors were encountered: