parent
da14c7c846
commit
c57aa7e4b8
@ -0,0 +1,15 @@
|
|||||||
|
package com.mfsys.common.configuration.exception;
|
||||||
|
|
||||||
|
import com.mfsys.common.configuration.constant.ERRCode;
|
||||||
|
|
||||||
|
public class EmailAlreadyUsedException extends ApplicationException {
|
||||||
|
|
||||||
|
public EmailAlreadyUsedException(String porOrgacode, String existingUsername) {
|
||||||
|
super(porOrgacode, ERRCode.EMAIL_ALREADY_USED, existingUsername);
|
||||||
|
}
|
||||||
|
|
||||||
|
public EmailAlreadyUsedException(String porOrgacode, String existingUsername, Throwable cause) {
|
||||||
|
super(porOrgacode, ERRCode.EMAIL_ALREADY_USED, existingUsername);
|
||||||
|
initCause(cause);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue