Module decimal :: Class DivisionUndefined
[hide private]
[frames] | no frames]

type DivisionUndefined

              object --+                        
                       |                        
exceptions.BaseException --+                    
                           |                    
        exceptions.Exception --+                
                               |                
        exceptions.StandardError --+            
                                   |            
          exceptions.ArithmeticError --+        
                                       |        
                        DecimalException --+    
                                           |    
                            InvalidOperation --+
                                               |
                  object --+                   |
                           |                   |
    exceptions.BaseException --+               |
                               |               |
            exceptions.Exception --+           |
                                   |           |
            exceptions.StandardError --+       |
                                       |       |
              exceptions.ArithmeticError --+   |
                                           |   |
                exceptions.ZeroDivisionError --+
                                               |
                                              DivisionUndefined

Undefined result of division.

This occurs and signals invalid-operation if division by zero was attempted (during a divide-integer, divide, or remainder operation), and the dividend is also zero. The result is [0,qNaN].

Instance Methods [hide private]
 
handle(self, context, tup=None, *args)

Inherited from exceptions.ZeroDivisionError: __init__, __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Method Details [hide private]

handle(self, context, tup=None, *args)

 
Overrides: DecimalException.handle