com.supermap.services.providers
Class AbstractExceptionParser
- java.lang.Object
-
- com.supermap.services.providers.AbstractExceptionParser
-
- Direct Known Subclasses:
- ExceptionParser10000
public abstract class AbstractExceptionParser extends java.lang.ObjectWFS 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
WFSServiceExceptionexception if it is an error message.
-
-
Constructor Summary
Constructors Constructor and Description AbstractExceptionParser()
-
Method Summary
Methods Modifier and Type Method and Description abstract voidparse(org.w3c.dom.Document document)Resolve the XML document returned by the WFS service and check if the error message is included.
-
-
-
Method Detail
-
parse
public abstract void parse(org.w3c.dom.Document document) throws WFSServiceExceptionResolve 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
WFSServiceExceptionexception is thrown.- Parameters:
document- The XML document to parse.- Throws:
WFSServiceException,- if the XML document contains an error message, the exception is thrown.WFSServiceException
-
-