source: src/main/java/com/example/baziproekt/model/exceptions/UserNotFoundException.java@ 0e4d807

Last change on this file since 0e4d807 was 0e4d807, checked in by Ivona <ivonatapshanovska@…>, 10 months ago

Initial commit

  • Property mode set to 100644
File size: 373 bytes
Line 
1package com.example.baziproekt.model.exceptions;
2
3import org.springframework.http.HttpStatus;
4import org.springframework.web.bind.annotation.ResponseStatus;
5
6@ResponseStatus(HttpStatus.NOT_FOUND)
7public class UserNotFoundException extends RuntimeException{
8 public UserNotFoundException() {
9 super(String.format("Korisnik so ova id ne bese pronajden "));
10 }
11}
Note: See TracBrowser for help on using the repository browser.