source: src/main/java/com/example/baziproekt/model/exceptions/ProductNotFoundException.java@ 0e4d807

Last change on this file since 0e4d807 was 0e4d807, checked in by Ivona <ivonatapshanovska@…>, 10 months ago

Initial commit

  • Property mode set to 100644
File size: 363 bytes
Line 
1package com.example.baziproekt.model.exceptions;
2
3import org.springframework.http.HttpStatus;
4import org.springframework.web.bind.annotation.ResponseStatus;
5
6@ResponseStatus(HttpStatus.NOT_FOUND)
7public class ProductNotFoundException extends RuntimeException{
8 public ProductNotFoundException() {
9 super("Proizvod so ova id ne bese pronajden");
10 }
11}
Note: See TracBrowser for help on using the repository browser.