Declared in module xml.arch.xmlarch
xml.arch.xmlarch.ArchException
xml.sax.saxlib.SAXException
class ArchException(SAXException): def __init__(self, msg, exception=None) # Intitialize a new instance. def __str__(self) # Create a string representation of the exception. def get_exception(self) # Return the embedded exception, if any. def get_message(self) # Return a message for this exception. # Inherited from exceptions.Exception def __getitem__(self, i) def __init__(self, *args) def __str__(self) # Inherited from xml.sax.saxlib.SAXException def X__init__(self, msg, exception) def __str__(self) # Create a string representation of the exception. def getException(self) # Return the embedded exception, if any. def getMessage(self) # Return a message for this exception.
None
Creates an exception. The message is required, but the exception can be None.