Package org.vfny.geoserver.wfs

Examples of org.vfny.geoserver.wfs.WfsException


        try {
            xmlOut.write(this.toByteArray(), ENCODING_LENGTH,
                this.size() - ENCODING_LENGTH);
            this.reset();
        } catch (IOException e) {
            throw new WfsException(e, "IO problem",
                XmlOutputStream.class.getName());
        }
    }
View Full Code Here


    public void writeToNormal(OutputStream xmlOut) throws WfsException {
        try {
            xmlOut.write(this.toByteArray(), 0, this.size());
            this.reset();
        } catch (IOException e) {
            throw new WfsException(e, "IO problem",
                XmlOutputStream.class.getName());
        }
    }
View Full Code Here

                this.write(fileBuffer, 0, bytesRead);
            }

            inputStream.close();
        } catch (IOException e) {
            throw new WfsException(e,
                "Problems writing [ " + inputFileName + " ] file to XML",
                XmlOutputStream.class.getName());
        }
    }
View Full Code Here

            LOGGER.finest("calling parse on " + requestSource);
            adapter.parse(requestSource);
            LOGGER.fine("just parsed: " + requestSource);
        } catch (SAXException e) {
            e.printStackTrace(System.out);
            throw new WfsException(e,
                "XML getFeature request SAX parsing error",
                XmlRequestReader.class.getName());
        } catch (IOException e) {
            throw new WfsException(e, "XML get feature request input error",
                XmlRequestReader.class.getName());
        } catch (ParserConfigurationException e) {
            throw new WfsException(e, "Some sort of issue creating parser",
                XmlRequestReader.class.getName());
        }

        Request r = contentHandler.getRequest(req);
        return r;
View Full Code Here

TOP

Related Classes of org.vfny.geoserver.wfs.WfsException

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.