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

java.lang.Object
  extended by org.geotools.data.wfs.v1_1_0.parsers.ExceptionReportParser
All Implemented Interfaces:
WFSResponseParser

public class ExceptionReportParser
extends java.lang.Object
implements WFSResponseParser

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

Since:
2.6
Version:
$Id: ExceptionReportParser.java 32043 2008-12-19 03:23:35Z jdeolive $
Author:
Gabriel Roldan (OpenGeo)

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

Constructor Detail

ExceptionReportParser

public ExceptionReportParser()
Method Detail

parse

public java.lang.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-2010 Geotools. All Rights Reserved.