configured different exceptions for wms and wcs