• Home
  • Raw
  • Download

Lines Matching full:exception

4     from java.lang import Exception
9 class SAXException(Exception):
16 the exception; instead, you can simply read the information in
19 def __init__(self, msg, exception=None): argument
20 """Creates an exception. The message is required, but the exception
23 self._exception = exception
24 Exception.__init__(self, msg)
27 "Return a message for this exception."
31 "Return the embedded exception, or None if there was none."
35 "Create a string representation of the exception."
39 """Avoids weird error messages if someone does exception[ix] by
40 mistake, since Exception has __getitem__ defined."""
49 This exception will include information for locating the error in
53 to raise the exception; instead, it can simply read the
56 Since this exception is a subclass of SAXException, it inherits
57 the ability to wrap another exception."""
59 def __init__(self, msg, exception, locator): argument
60 "Creates the exception. The exception parameter is allowed to be None."
61 SAXException.__init__(self, msg, exception)
65 # If this exception is raised, the objects through which we must
73 """The column number of the end of the text where the exception
78 "The line number of the end of the text where the exception occurred."
82 "Get the public identifier of the entity where the exception occurred."
86 "Get the system identifier of the entity where the exception occurred."
90 "Create a string representation of the exception."
106 """Exception class for an unrecognized identifier.
108 An XMLReader will raise this exception when it is confronted with an
116 """Exception class for an unsupported operation.
118 An XMLReader will raise this exception when a service it cannot
126 """Exception class for a missing driver.
128 An XMLReader module (driver) should raise this exception when it