? wms_exception.patch
? wms_exception_option.patch
Index: includes/layer_types/wms.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/openlayers/includes/layer_types/Attic/wms.inc,v
retrieving revision 1.1.2.17
diff -u -p -r1.1.2.17 wms.inc
--- includes/layer_types/wms.inc	16 Aug 2010 20:21:58 -0000	1.1.2.17
+++ includes/layer_types/wms.inc	1 Sep 2010 17:44:29 -0000
@@ -103,6 +103,16 @@ class openlayers_layer_type_wms extends 
           '#title' => t('Transparent'),
           '#description' => t('When a PNG, make the background color transparent')
         ),
+         'exceptions' => array(
+          '#type' => 'select',
+          '#title' => t('Exceptions'),
+          '#options' => array(
+            'application/vnd.ogc.se_xml' => 'application/vnd.ogc.se_xml',
+        	'application/vnd.ogc.se_inimage' => 'application/vnd.ogc.se_inimage'),
+          '#default_value' => isset($this->data['options']['exceptions']) ?
+            $this->data['options']['exceptions'] : 'application/vnd.ogc.se_inimage',
+            '#description' => t('Select the exception handler')
+        ),
         'format' => array(
           '#type' => 'select',
           '#title' => t('File Format'),
