com.supermap.services.providers
Class ExceptionParser10000
- java.lang.Object
-
- com.supermap.services.providers.AbstractExceptionParser
-
- com.supermap.services.providers.ExceptionParser10000
-
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
WFSServiceExceptionexception is thrown.
-
-
Constructor Summary
Constructors Constructor and Description ExceptionParser10000()
-
Method Summary
Methods Modifier and Type Method and Description voidparse(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.
-
-
-
Method Detail
-
parse
public void parse(org.w3c.dom.Document document) throws WFSServiceExceptionParses 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
WFSServiceExceptionexception containing the corresponding information is thrown.- Specified by:
parsein classAbstractExceptionParser- Parameters:
document- The XML document to parse.- Throws:
WFSServiceException,- if the XML document contains an error message, the exception is thrown.WFSServiceException
-
-