Changeset 2935 for TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcs1_0_0.py
- Timestamp:
- 08/10/07 12:04:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcs1_0_0.py
r2933 r2935 193 193 except Exception, e: 194 194 if isinstance(e, OWS_E.OwsError): 195 raise e 195 c.ex=e.report 196 r=render_response('ogc_se', format='xml') 197 r.headers['content-type'] = 'text/xml' 198 return r 196 199 elif isinstance(e, ValueError): 197 200 c.xml='<div class="error">%s</div>'%e … … 225 228 except Exception, e: 226 229 if isinstance(e, OWS_E.OwsError): 227 raise e 230 c.ex=e.report 231 r=render_response('ogc_se', format='xml') 232 r.headers['content-type'] = 'text/xml' 233 return r 228 234 elif isinstance(e, ValueError): 229 235 c.xml='<div class="error">%s</div>'%e … … 354 360 except Exception, e: 355 361 if isinstance(e, OWS_E.OwsError): 356 raise e 362 c.ex=e.report 363 r=render_response('ogc_se', format='xml') 364 r.headers['content-type'] = 'text/xml' 365 return r 357 366 elif isinstance(e, ValueError): 358 367 c.xml='<div class="error">%s</div>'%e
Note: See TracChangeset
for help on using the changeset viewer.