package com.example.exceptions; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(code = HttpStatus.NOT_FOUND) public class InvalidUserCredentialsException extends RuntimeException { public InvalidUserCredentialsException() { super("Invalid user credentials exception"); } }