Last change
on this file since 84d0fbb was 1ad8e64, checked in by Ema <ema_spirova@…>, 3 years ago |
spring security
|
-
Property mode
set to
100644
|
File size:
367 bytes
|
Rev | Line | |
---|
[1ad8e64] | 1 | package finki.diplomska.tripplanner.models.exceptions;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.http.HttpStatus;
|
---|
| 4 | import org.springframework.web.bind.annotation.ResponseStatus;
|
---|
| 5 |
|
---|
| 6 | @ResponseStatus(HttpStatus.BAD_REQUEST)
|
---|
| 7 | public class UsernameAlreadyExistsException extends RuntimeException{
|
---|
| 8 |
|
---|
| 9 | public UsernameAlreadyExistsException (String message){
|
---|
| 10 | super(message);
|
---|
| 11 | }
|
---|
| 12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.