org.opengis.cite.iso19142.ExceptionCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ets-wfs20 Show documentation
Show all versions of ets-wfs20 Show documentation
Checks WFS 2.0 implementations for conformance to ISO 19142:2010.
package org.opengis.cite.iso19142;
/**
* An enumerated type defining OGC exception codes that appear in an exception
* report. Each error code has an associated HTTP status code.
*
* @see "OGC 09-025r2, Table D.2"
*/
public enum ExceptionCode {
/** OGC 06-121r3, Table 25. */
INVALID_PARAM_VALUE("InvalidParameterValue", 400);
private final String ogcCode;
private final int httpStatus;
private ExceptionCode(String ogcCode, int httpStatus) {
this.ogcCode = ogcCode;
this.httpStatus = httpStatus;
}
public String ogcCode() {
return ogcCode;
}
public int statusCode() {
return httpStatus;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy