enterprises.orbital.evekit.ws.common.ServiceError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of account-manager-ws Show documentation
Show all versions of account-manager-ws Show documentation
Swagger annotated web services which expose account management functions
package enterprises.orbital.evekit.ws.common;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(
description = "EveKit Web Service Error")
public class ServiceError {
private int errorCode = 0;
private String errorMessage = "";
public ServiceError(int errorCode, String errorMessage) {
super();
this.errorCode = errorCode;
this.errorMessage = errorMessage;
}
@ApiModelProperty(
value = "Error code")
@JsonProperty("errorCode")
public int getErrorCode() {
return errorCode;
}
public void setErrorCode(
int errorCode) {
this.errorCode = errorCode;
}
@ApiModelProperty(
value = "Error message")
@JsonProperty("errorMessage")
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(
String errorMessage) {
this.errorMessage = errorMessage;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy