Last change
on this file was bc0eeb4, checked in by Evgenija2000 <eva_nikolaevska@…>, 2 years ago |
all files
|
-
Property mode
set to
100644
|
File size:
358 bytes
|
Line | |
---|
1 | package com.example.db.exceptions;
|
---|
2 |
|
---|
3 |
|
---|
4 | import org.springframework.http.HttpStatus;
|
---|
5 | import org.springframework.web.bind.annotation.ResponseStatus;
|
---|
6 |
|
---|
7 | @ResponseStatus(HttpStatus.NOT_FOUND)
|
---|
8 | public class UserNotFoundException extends RuntimeException {
|
---|
9 |
|
---|
10 | public UserNotFoundException() {
|
---|
11 | super(String.format("Users with this id was not found"));
|
---|
12 | }
|
---|
13 | }
|
---|
14 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.