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

io.mosip.kernel.openid.bridge.api.exception.AuthRestException Maven / Gradle / Ivy

There is a newer version: 1.3.0-beta.1
Show newest version
package io.mosip.kernel.openid.bridge.api.exception;
import java.util.List;

import org.springframework.http.HttpStatus;

import io.mosip.kernel.core.exception.BaseUncheckedException;
import io.mosip.kernel.core.exception.ServiceError;
import lombok.Getter;

public class AuthRestException extends BaseUncheckedException {
	/**
	 * Serializable version ID.
	 */
	private static final long serialVersionUID = 8152409863253682472L;

	@Getter
	private HttpStatus httpStatus;
	/**
	 * This variable holds the MosipErrors list.
	 */
	private final List list;

	/**
	 * @param list The error list.
	 * @param httpStatus 
	 */
	public AuthRestException(List list, HttpStatus httpStatus) {
		this.list = list;
		this.httpStatus = httpStatus;
	}

	/**
	 * Getter for error list.
	 * 
	 * @return The error list.
	 */
	public List getList() {
		return list;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy