org.geotools.data.wfs.v1_1_0.parsers
Class ExceptionReportParser

Object
  extended by ExceptionReportParser
All Implemented Interfaces:
WFSResponseParser

public class ExceptionReportParser
extends Object
implements WFSResponseParser

A WFS response parser that parses server exception reports into WFSException objects.

Since:
2.6
Author:
Gabriel Roldan (OpenGeo)

Constructor Summary
ExceptionReportParser()
           
 
Method Summary
 Object parse(WFS_1_1_0_DataStore wfs, WFSResponse response)
          Produces a parsed object from the WFS response stream.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionReportParser

public ExceptionReportParser()
Method Detail

parse

public Object parse(WFS_1_1_0_DataStore wfs,
                    WFSResponse response)
Description copied from interface: WFSResponseParser
Produces a parsed object from the WFS response stream.

The kind of parsed object depends on the actual response contents and what the specific parser produces for it.

Specified by:
parse in interface WFSResponseParser
Parameters:
wfs - the WFSDataStore that sent the request
response - a response handle to a service exception report
Returns:
a WFSException containing the server returned exception report messages
See Also:
WFSResponseParser#parse(WFSProtocol, WFSResponse)


Copyright © 1996-2014 Geotools. All Rights Reserved.