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.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.

    • Method Summary

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

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

      • AbstractExceptionParser

        public AbstractExceptionParser()
        
    • Method Detail

      • parse

        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.

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