com.supermap.services.providers

Class 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 WFSServiceException exception is thrown.

    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExceptionParser10000

        public ExceptionParser10000()
        
    • Method Detail

      • parse

        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.

        Specified by:
        parse in class AbstractExceptionParser
        Parameters:
        document - The XML document to parse.
        Throws:
        WFSServiceException, - if the XML document contains an error message, the exception is thrown.
        WFSServiceException