io.mosip.kernel.openid.bridge.api.exception.AuthRestException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kernel-openid-bridge-api Show documentation
Show all versions of kernel-openid-bridge-api Show documentation
Mosip Open-ID-Connect bridge API
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