source: backend/web3-Ednevnik-Backend/src/main/java/com/nikola/web3ednevnikbackend/model/exceptions/AdminUserAlreadyExistsException.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: 401 bytes
Line 
1package com.nikola.web3ednevnikbackend.model.exceptions;
2
3import org.springframework.http.HttpStatus;
4import org.springframework.web.bind.annotation.ResponseStatus;
5
6
7
8@ResponseStatus(HttpStatus.PRECONDITION_FAILED)
9public class AdminUserAlreadyExistsException extends RuntimeException {
10 public AdminUserAlreadyExistsException() {
11 super(String.format("AdminUser already exists"));
12 }
13}
Note: See TracBrowser for help on using the repository browser.