Package nl.b3p.tailormap.api.geotools
Class WMSServiceExceptionUtil
- java.lang.Object
-
- nl.b3p.tailormap.api.geotools.WMSServiceExceptionUtil
-
public class WMSServiceExceptionUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description WMSServiceExceptionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringtryGetServiceExceptionMessage(byte[] body)Tries to parse a WMS service exception XML response of any WMS version and extract an error message.
-
-
-
Method Detail
-
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
-
-