Last change
on this file was 0e4d807, checked in by Ivona <ivonatapshanovska@…>, 14 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
368 bytes
|
Line | |
---|
1 | package com.example.baziproekt.model.exceptions;
|
---|
2 |
|
---|
3 | import org.springframework.http.HttpStatus;
|
---|
4 | import org.springframework.web.bind.annotation.ResponseStatus;
|
---|
5 |
|
---|
6 | @ResponseStatus(HttpStatus.NOT_FOUND)
|
---|
7 | public 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.