public abstract class AbstractExceptionParser
extends java.lang.Object
WFS Service Error Document Parser.
When accessing the WFS service error, you can get an XML document containing the error message. This class is used to parse the XML document returned by the WFS service and throw an WFSServiceException
exception if it is an error message.
Constructor and Description |
---|
AbstractExceptionParser() |
Modifier and Type | Method and Description |
---|---|
abstract void |
parse(org.w3c.dom.Document document)
Resolve the XML document returned by the WFS service and check if the error message is included.
|
public abstract void parse(org.w3c.dom.Document document) throws WFSServiceException
Resolve the XML document returned by the WFS service and check if the error message is included.
If the XML document contains an error message, the WFSServiceException
exception is thrown.
document
- The XML document to parse.WFSServiceException,
- if the XML document contains an error message, the exception is thrown.WFSServiceException