source: backend/web3-Ednevnik-Backend/src/main/java/com/nikola/web3ednevnikbackend/model/exceptions/AdminUserNotFoundException.java

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 
1package com.nikola.web3ednevnikbackend.model.exceptions;
2
3import org.springframework.http.HttpStatus;
4import org.springframework.web.bind.annotation.ResponseStatus;
5
6import java.util.UUID;
7
8@ResponseStatus(code = HttpStatus.NOT_FOUND)
9public 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.