Class WMSServiceExceptionUtil

java.lang.Object
org.tailormap.api.geotools.WMSServiceExceptionUtil

public class WMSServiceExceptionUtil extends Object
  • Constructor Details

    • WMSServiceExceptionUtil

      public WMSServiceExceptionUtil()
  • Method Details

    • tryGetServiceExceptionMessage

      public static String tryGetServiceExceptionMessage(byte[] body)
      Tries to parse a WMS service exception XML response of any WMS version and extract an error message.
      Parameters:
      body - The response body from a text/xml WMS response
      Returns:
      A service exception message or null if it can't be extracted