Package pyxb :: Package utils :: Module fac :: Class AutomatonStepError |
[hide private]
[frames] | no frames]

# type AutomatonStepError

source code

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
                                  AutomatonStepError

Known Subclasses:
  - NondeterministicSymbolError
  - , UnrecognizedSymbolError

Symbol rejected by Configuration_ABC.step.

The exception indicates that the proposed symbol either failed to produce a transition (UnrecognizedSymbolError) or produced multiple equally valid transitions (NondeterministicSymbolError).

Instance Methods | [hide private]
__get_acceptable(self) A list of symbols that the configuration would accept in its current state. | source code
__init__(self, *args) x.__init__(...) initializes x; see help(type(x)) for signature | source code
Inherited from `exceptions.Exception`: `__new__` Inherited from `exceptions.BaseException`: `__delattr__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__reduce__`, `__repr__`, `__setattr__`, `__setstate__`, `__str__`, `__unicode__`

Class Variables | [hide private]
| configuration = `None` The instance of Configuration_ABC that raised the exception.
| symbol = `None` The symbol that was not accepted.

Properties | [hide private]
| acceptable A list of symbols that the configuration would accept in its current state.
Inherited from `exceptions.BaseException`: `args`, `message`

Method Details | [hide private]

### __init__(self, *args) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: exceptions.BaseException.__init__ (inherited documentation)

Class Variable Details | [hide private]

  ### configuration The instance of Configuration_ABC that raised the exception. From Configuration_ABC.acceptableSymbols you can determine what alternatives might be present. Value:
      None

Property Details | [hide private]

### acceptable A list of symbols that the configuration would accept in its current state. Get Method: __get_acceptable(self) - A list of symbols that the configuration would accept in its current state.