source: src/main/java/com/example/baziproekt/model/exceptions/InvalidKompanijaException.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: 368 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 InvalidKompanijaException extends RuntimeException{
8 public InvalidKompanijaException() {
9
10 super("Kompanija with this name was not found");
11 }
12}
Note: See TracBrowser for help on using the repository browser.