io.mosip.preregistration.batchjob.model.ExceptionJSONInfoDTO Maven / Gradle / Ivy
/*
* Copyright
*
*/
package io.mosip.preregistration.batchjob.model;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
/**
* Exception json Info
*
* @author Kishan Rathore
* @since 1.0.0
*
*/
public class ExceptionJSONInfoDTO implements Serializable {
/**
*
*/
private static final long serialVersionUID = 3999014525078508265L;
@ApiModelProperty(value = "Error Code", position = 1)
private String errorCode;
@ApiModelProperty(value = "Error Message", position = 2)
private String message;
public ExceptionJSONInfoDTO(String errorcode, String message) {
super();
errorCode = errorcode;
this.message = message;
}
public String getErrorcode() {
return errorCode;
}
public String getMessage() {
return message;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy