io.mosip.pmp.partner.constant.EmailIdExceptionConstant Maven / Gradle / Ivy
package io.mosip.pmp.partner.constant;
/**
* @author sanjeev.shrivastava
*
*/
public enum EmailIdExceptionConstant {
EMAIL_ALREADY_EXISTS_EXCEPTION("PMS_PRT_011", "Email is already exists."),
INVALID_EMAIL_ID_EXCEPTION("PMS_PRT_012", "Invalid emailId.");
/**
* The error code.
*/
private String errorCode;
/**
* The error message.
*/
private String errorMessage;
/**
* Constructor for partnerIdExceptionConstant.
*
* @param errorCode
* the errorCode.
* @param errorMessage
* the errorMessage.
*/
EmailIdExceptionConstant(String errorCode, String errorMessage) {
this.errorCode = errorCode;
this.errorMessage = errorMessage;
}
/**
* Getter for error code.
*
* @return the error code.
*/
public String getErrorCode() {
return errorCode;
}
/**
* Getter for error message.
*
* @return the error message.
*/
public String getErrorMessage() {
return errorMessage;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy