'Creates the exception. The exception parameter is allowed to be None.'

def __init__(self, msg, exception, locator):

    SAXException.__init__(self, msg, exception)
    self._locator = locator
    self._systemId = self._locator.getSystemId()
    self._colnum = self._locator.getColumnNumber()
    self._linenum = self._locator.getLineNumber()
