Package org.vfny.geoserver.wfs.responses

Examples of org.vfny.geoserver.wfs.responses.WfsTransactionException


            if (releaseAction.toUpperCase().equals("ALL")) {
                this.releaseAction = ALL;
            } else if (releaseAction.toUpperCase().equals("SOME")) {
                this.releaseAction= SOME;
            } else {
                throw new WfsTransactionException("Illegal releaseAction: "
                    + releaseAction + ", only " + "SOME or ALL allowed",
                    handle, handle);
            }
        }
        else {
View Full Code Here


            adapter.parse(requestSource);
            LOGGER.finer("just parsed: " + requestSource);
        } catch (SAXException e) {
            //e.getCause().printStackTrace(System.out);
            //e.printStackTrace(System.out);
            throw new WfsTransactionException(e,
                "XML transaction request SAX parsing error",
                getClass().getName());
        } catch (IOException e) {
            throw new WfsTransactionException(e,
                "XML transaction request input error", getClass().getName());
        } catch (ParserConfigurationException e) {
            throw new WfsTransactionException(e,
                "Some sort of issue creating parser", getClass().getName());
        }
        Request r = contentHandler.getRequest(req);
        return r;
    }
View Full Code Here

TOP

Related Classes of org.vfny.geoserver.wfs.responses.WfsTransactionException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.