Last change
on this file was 0e4d807, checked in by Ivona <ivonatapshanovska@…>, 14 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
373 bytes
|
Rev | Line | |
---|
[0e4d807] | 1 | package com.example.baziproekt.model.exceptions;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.http.HttpStatus;
|
---|
| 4 | import org.springframework.web.bind.annotation.ResponseStatus;
|
---|
| 5 |
|
---|
| 6 | @ResponseStatus(HttpStatus.NOT_FOUND)
|
---|
| 7 | public 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.