io.mosip.admin.packetstatusupdater.exception.MasterDataServiceException Maven / Gradle / Ivy
package io.mosip.admin.packetstatusupdater.exception;
import io.mosip.kernel.core.exception.BaseUncheckedException;
/**
* Custom Exception Class in case of error occurred in services.
*
* @see io.mosip.kernel.core.exception.BaseUncheckedException
* @author Bal Vikash Sharma
* @since 1.0.0
*/
public class MasterDataServiceException extends BaseUncheckedException {
/**
* Generated serial version id
*/
private static final long serialVersionUID = 8621530697947108810L;
/**
* Constructor the initialize Handler exception
*
* @param errorCode The error code for this exception
* @param errorMessage The error message for this exception
*/
public MasterDataServiceException(String errorCode, String errorMessage) {
super(errorCode, errorMessage);
}
/**
* Constructor the initialize Handler exception
*
* @param errorCode The error code for this exception
* @param errorMessage The error message for this exception
* @param rootCause the specified cause
*/
public MasterDataServiceException(String errorCode, String errorMessage, Throwable rootCause) {
super(errorCode, errorMessage, rootCause);
}
}