Added possibility for user to hide from global score list
This commit is contained in:
@@ -7,7 +7,8 @@ import org.springframework.web.bind.annotation.ResponseStatus;
|
||||
|
||||
@ControllerAdvice
|
||||
public class ServerExceptionHandler {
|
||||
public static class InvalidUserException extends Exception {}
|
||||
public static class InvalidUserException extends Exception {
|
||||
}
|
||||
|
||||
@ResponseStatus(HttpStatus.FORBIDDEN)
|
||||
@ExceptionHandler(InvalidUserException.class)
|
||||
|
||||
Reference in New Issue
Block a user