PyXMI
.PyXMI_exceptions
index
c:\python24\pyxmi_dev\0_4\pyxmi\pyxmi_exceptions.py
This module contains the exception definitions that can be raised by PyXMI.
Classes
exceptions.Exception
PyXMIBadXML
PyXMIFileNotFound
PyXMINoClassDefined
PyXMINoFinalNode
PyXMINoIncommingFlow
PyXMINoInitialNode
class
PyXMIBadXML
(
exceptions.Exception
)
This exception is raised by PyXMI when an XMI document is parsed and
contains invalid XML.
Methods defined here:
__init__
(self, msg
=''
)
Constructor. Set the exception message.
Methods inherited from
exceptions.Exception
:
__getitem__
(...)
__str__
(...)
class
PyXMIFileNotFound
(
exceptions.Exception
)
This exception is raised by PyXMI when a specified file cannot be found.
Methods defined here:
__init__
(self, msg
=''
)
Constructor. Set the exception message.
Methods inherited from
exceptions.Exception
:
__getitem__
(...)
__str__
(...)
class
PyXMINoClassDefined
(
exceptions.Exception
)
This exception is raised when the getClass method of a classSociety instance is called
and the class is not defined.
Methods defined here:
__init__
(self, msg
=''
)
Constructor. Set the exception message.
Methods inherited from
exceptions.Exception
:
__getitem__
(...)
__str__
(...)
class
PyXMINoFinalNode
(
exceptions.Exception
)
This exception is raised when the run method of a stateMachine instance is invoked and
no final node is found.
Methods defined here:
__init__
(self, msg
=''
)
Constructor. Set the exception message.
Methods inherited from
exceptions.Exception
:
__getitem__
(...)
__str__
(...)
class
PyXMINoIncommingFlow
(
exceptions.Exception
)
This exception is raised when the run method of a stateMachine instance is invoked and
an action node or decision node does not have an incomming flow.
Methods defined here:
__init__
(self, msg
=''
)
Constructor. Set the exception message.
Methods inherited from
exceptions.Exception
:
__getitem__
(...)
__str__
(...)
class
PyXMINoInitialNode
(
exceptions.Exception
)
This exception is raised when the run method of a stateMachine instance is invoked and
no initial node is found.
Methods defined here:
__init__
(self, msg
=''
)
Constructor. Set the exception message.
Methods inherited from
exceptions.Exception
:
__getitem__
(...)
__str__
(...)