source:
src/main/java/com/example/medweb/model/exceptions/EmailAlreadyExistsException.java
Last change on this file was e5fefbd, checked in by , 2 years ago | |
---|---|
|
|
File size: 244 bytes |
Rev | Line | |
---|---|---|
[e5fefbd] | 1 | package com.example.medweb.model.exceptions; |
2 | ||
3 | public class EmailAlreadyExistsException extends RuntimeException { | |
4 | ||
5 | public EmailAlreadyExistsException(String email) { | |
6 | ||
7 | super(String.format("Email %s already Eexists", email)); | |
8 | } | |
9 | } |
Note:
See TracBrowser
for help on using the repository browser.