Package mapnik :: Package ogcserver :: Module wms130 :: Class ExceptionHandler

Class ExceptionHandler

common.BaseExceptionHandler --+
                              |
                             ExceptionHandler

Instance Methods

Inherited from common.BaseExceptionHandler: __init__, blankhandler, getresponse, htmlhandler, inimagehandler, xmlhandler

Class Variables
  xmlmimetype = "text/xml"
  xmltemplate = ElementTree.fromstring("""<?xml version='1.0' en...
  xpath = '{http://www.opengis.net/ogc}ServiceException'
  handlers = {'XML': BaseExceptionHandler.xmlhandler, 'INIMAGE':...
  defaulthandler = 'XML'
Class Variable Details

xmltemplate

Value:
ElementTree.fromstring("""<?xml version='1.0' encoding="UTF-8"?>
    <ServiceExceptionReport version="1.3.0"
                            xmlns="http://www.opengis.net/ogc"
                            xmlns:xsi="http://www.w3.org/2001/XMLSchem\
a-instance"
                            xsi:schemaLocation="http://www.opengis.net\
/ogc http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
      <ServiceException/>
...

handlers

Value:
{'XML': BaseExceptionHandler.xmlhandler, 'INIMAGE': BaseExceptionHandl\
er.inimagehandler, 'BLANK': BaseExceptionHandler.blankhandler, 'HTML':\
 BaseExceptionHandler.htmlhandler}