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

Class AutomatonStepError

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              AutomatonStepError
Known Subclasses:

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__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__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.