public class ExceptionParser10000 extends AbstractExceptionParser
WFS 1.0.0 Service Error Document Parser.
Used to parse the XML document containing the error message returned by the WFS 1.0.0 service. If it is an error message, the corresponding WFSServiceException
exception is thrown.
Constructor and Description |
---|
ExceptionParser10000() |
Modifier and Type | Method and Description |
---|---|
void |
parse(org.w3c.dom.Document document)
Parses the XML document returned by the WFS 1.0.0 service and checks if the error message is included.
|
public void parse(org.w3c.dom.Document document) throws WFSServiceException
Parses the XML document returned by the WFS 1.0.0 service and checks if the error message is included.
If the XML document contains an error message, the WFSServiceException
exception containing the corresponding information is thrown.
parse
in class AbstractExceptionParser
document
- The XML document to parse.WFSServiceException,
- if the XML document contains an error message, the exception is thrown.WFSServiceException