public WFSException init(Object request) {
if (request != null) {
//wfs 2.0 has more requirements for exception codes and handles
if (OwsUtils.has(request, "version")) {
Object ver = OwsUtils.get(request, "version");
Version version = Version.negotiate(ver != null ? ver.toString() : null);
if (version != null && version.compareTo(Version.V_20) < 0) {
return this; //not 2.0
}
}
if (locator == null && OwsUtils.has(request, "handle")) {
//check the request object