Package org.tailormap.api.geotools
Class WMSServiceExceptionUtil
java.lang.Object
org.tailormap.api.geotools.WMSServiceExceptionUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
tryGetServiceExceptionMessage
(byte[] body) Tries to parse a WMS service exception XML response of any WMS version and extract an error message.
-
Constructor Details
-
WMSServiceExceptionUtil
public WMSServiceExceptionUtil()
-
-
Method Details
-
tryGetServiceExceptionMessage
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
-