Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package $package.application.exception;
|
||||
|
||||
public class ${entity}ExistException extends RuntimeException {
|
||||
public ${entity}ExistException(String message) {
|
||||
super(message);
|
||||
}
|
||||
public ${entity}ExistException($id_type $id_name) {
|
||||
super("$entity already exists: " + $id_name);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user