All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.preregistration.notification.exception.DemographicDetailsNotFoundException Maven / Gradle / Ivy

There is a newer version: 1.0.10-rc1
Show newest version
package io.mosip.preregistration.notification.exception;

import java.util.List;

import io.mosip.kernel.core.exception.BaseUncheckedException;
import io.mosip.preregistration.core.common.dto.ExceptionJSONInfoDTO;
import io.mosip.preregistration.core.common.dto.MainResponseDTO;
import lombok.Getter;

@Getter
public class DemographicDetailsNotFoundException extends BaseUncheckedException {
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;
	private final MainResponseDTO mainResponseDTO;
	private List errorList;
	
	public List getErrorList() {
		return errorList;
	}

	
	public MainResponseDTO getMainResposneDTO() {
		return mainResponseDTO;
	}
	/**
	 * @param msg
	 */
	public DemographicDetailsNotFoundException(List errorList,MainResponseDTO response) {
		this.errorList=errorList;
		this.mainResponseDTO=response;
	}

	/**
	 * @param errCode
	 * @param msg
	 */
	public DemographicDetailsNotFoundException(String errCode, String msg,MainResponseDTO response) {
		super(errCode, msg);
		this.mainResponseDTO=response;
	}

	/**
	 * @param errCode
	 * @param msg
	 * @param cause
	 */
	public DemographicDetailsNotFoundException(String errCode, String msg, Throwable cause,MainResponseDTO response) {
		super(errCode, msg, cause);
		this.mainResponseDTO=response;
	}
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy