Last change
on this file was b3f2adb, checked in by Aleksandar Siljanoski <acewow3@…>, 14 months ago |
Adding project to repo
|
-
Property mode
set to
100644
|
File size:
270 bytes
|
Line | |
---|
1 | package com.example.eatys_app.model.exceptions;
|
---|
2 |
|
---|
3 | public class UsernameAlreadyExistsException extends RuntimeException{
|
---|
4 |
|
---|
5 | public UsernameAlreadyExistsException(String username) {
|
---|
6 | super(String.format("User with username: %s already exists", username));
|
---|
7 | }
|
---|
8 |
|
---|
9 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.