|
Last change
on this file was 81cdf2d, checked in by Nikola Janev <nikolajanev57@…>, 9 days ago |
|
initial commit
|
-
Property mode
set to
100644
|
|
File size:
448 bytes
|
| Line | |
|---|
| 1 | package com.nikola.web3ednevnikbackend.model.exceptions;
|
|---|
| 2 |
|
|---|
| 3 | import org.springframework.http.HttpStatus;
|
|---|
| 4 | import org.springframework.web.bind.annotation.ResponseStatus;
|
|---|
| 5 |
|
|---|
| 6 | import java.util.UUID;
|
|---|
| 7 |
|
|---|
| 8 | @ResponseStatus(code = HttpStatus.NOT_FOUND)
|
|---|
| 9 | public class AdminUserNotFoundException extends RuntimeException {
|
|---|
| 10 | public AdminUserNotFoundException(UUID adminUserId) {
|
|---|
| 11 | super(String.format("AdminUser with uuid: %s not found", adminUserId));
|
|---|
| 12 | }
|
|---|
| 13 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.