Exploit databaseDownload repository ZIP
GH-9a017fa45abc7e1f8f6ba6e1285cae54
iplayforsg/cve-2023-51444
Sources for CVE-2023-51444
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files3
iplayforsg/cve-2023-51444Revision 5cd0aeccb789
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
community/gsr/src/main/java/org/geoserver/gsr/model/exception/ServiceError.java
Java · 1,440 bytes/* (c) 2020 Open Source Geospatial Foundation - all rights reserved
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
/* Copyright (c) 2013 - 2017 Boundless - http://boundlessgeo.com All rights reserved.
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.gsr.model.exception;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import java.util.List;
/**
* A serializable error, returned to the user by the api
*
* @author Juan Marin, OpenGeo
*/
@XStreamAlias("error")
public class ServiceError {
private int code;
private String message;
@XStreamImplicit(itemFieldName = "details")
private List<String> details;
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public List<String> getDetails() {
return details;
}
public void setDetails(List<String> details) {
this.details = details;
}
public ServiceError(int code, String message, List<String> details) {
this.code = code;
this.message = message;
this.details = details;
}
}