customer creation now pointing to velocity
This commit is contained in:
15
src/main/java/zw/qantra/tm/exceptions/AlreadyExistsException.java
Executable file
15
src/main/java/zw/qantra/tm/exceptions/AlreadyExistsException.java
Executable file
@@ -0,0 +1,15 @@
|
||||
package zw.qantra.tm.exceptions;
|
||||
|
||||
public class AlreadyExistsException extends RuntimeException {
|
||||
|
||||
private String message;
|
||||
|
||||
public AlreadyExistsException(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user