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

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

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

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

/**
 * This class defines the MissingRequestParameterException
 * 
 * @author  Sanober Noor
 * @since 1.0.0
 * 
 */
@Getter
public class MissingRequestParameterException extends BaseUncheckedException {
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;
	private final MainResponseDTO mainResponseDTO;

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy