Did I find the right examples for you? yes no

All Samples(21)  |  Call(0)  |  Derive(0)  |  Import(21)
XSLT error codes and messages

Copyright 2003 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/

src/4/s/4Suite-XML-1.0.2/Ft/Xml/Xslt/LiteralElement.py   4Suite-XML(Download)
                value = value.evaluate(context)
            except XPathRuntimeException, e:
                import MessageSource
                e.message = MessageSource.EXPRESSION_POSITION_INFO % (
                    self.baseUri, self.lineNumber, self.columnNumber,
                    value.source, str(e))
                raise
            except XsltRuntimeException, e:
                import MessageSource
                raise
            except Exception, e:
                import MessageSource
                import cStringIO, traceback
                tb = cStringIO.StringIO()

src/4/s/4Suite-XML-1.0.2/Ft/Xml/Xslt/AttributeInfo.py   4Suite-XML(Download)
    def evaluate(self,context):
        try:
            return self.expression.evaluate(context)
        except XPathRuntimeException, e:
            import MessageSource
            raise
        except XsltRuntimeException, e:
            import MessageSource
            e.message = MessageSource.XSLT_EXPRESSION_POSITION_INFO % (
                str(e), self.original)
            raise
        except Exception, e:
            import MessageSource
            tb = cStringIO.StringIO()
            tb.write("Lower-level traceback:\n")

src/a/m/Amara-2.0.0/lib/xslt/tree/attribute_types.py   Amara(Download)
    def evaluate(self,context):
        try:
            return self.expression.evaluate(context)
        except XPathRuntimeException, e:
            import MessageSource
            raise
        except XsltError, e:
            import MessageSource
            e.message = MessageSource.XSLT_EXPRESSION_POSITION_INFO % (
                str(e), self.original)
            raise
        except Exception, e:
            import MessageSource
            tb = cStringIO.StringIO()
            tb.write("Lower-level traceback:\n")

src/4/s/4Suite-XML-1.0.2/Ft/Xml/XPath/__init__.py   4Suite-XML(Download)
    def __init__(self, errorCode, *args):
        # import here to avoid circularity
        import MessageSource
        XPathException.__init__(self, errorCode,
                                MessageSource.ERROR_COMPILETIME, args)
    def __init__(self, errorCode, *args):
        # import here to avoid circularity
        import MessageSource
        XPathException.__init__(self, errorCode,
                                MessageSource.ERROR_RUNTIME, args)

src/l/o/LODGrefine-HEAD/lod2-google-refine/extensions/jython/module/MOD-INF/lib/jython/xml/dom/__init__.py   LODGrefine(Download)
EMPTY_PREFIX = None
 
import MessageSource
DOMExceptionStrings = MessageSource.__dict__['DOMExceptionStrings']
EventExceptionStrings = MessageSource.__dict__['EventExceptionStrings']

src/o/p/openvault-core-HEAD/hydra-jetty/webapps/media/WEB-INF/lib/Lib/xml/dom/__init__.py   openvault-core(Download)
EMPTY_PREFIX = None
 
import MessageSource
DOMExceptionStrings = MessageSource.__dict__['DOMExceptionStrings']
EventExceptionStrings = MessageSource.__dict__['EventExceptionStrings']

src/4/s/4Suite-XML-1.0.2/Ft/Xml/Xslt/__init__.py   4Suite-XML(Download)
XSL_NAMESPACE = u'http://www.w3.org/1999/XSL/Transform'
 
import MessageSource
Error = MessageSource.Error
 

src/4/s/4Suite-XML-1.0.2/Ft/Xml/XPointer/__init__.py   4Suite-XML(Download)
        return
 
import MessageSource
 
### Convenience Functions ###

src/4/s/4Suite-XML-1.0.2/Ft/Xml/__init__.py   4Suite-XML(Download)
        FtException.__init__(self, errorCode, MessageSource.XINCLUDE, args)
 
import MessageSource
 
from Ft.Xml.Lib.XmlString import SplitQName

src/4/s/4Suite-XML-1.0.2/Ft/Lib/__init__.py   4Suite-XML(Download)
    def __init__(self, errorCode, *args, **kwargs):
        import MessageSource
        self.params = args or (kwargs,)
        self.errorCode = errorCode
        messages = MessageSource.URI

  1 | 2  Next