Package portage :: Module exception :: Class AmbiguousPackageName
[hide private]

Class AmbiguousPackageName

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
        exceptions.StandardError --+    
                                   |    
               exceptions.ValueError --+
                                       |
                  object --+           |
                           |           |
    exceptions.BaseException --+       |
                               |       |
            exceptions.Exception --+   |
                                   |   |
                    PortageException --+
                                       |
                                      AmbiguousPackageName

Raised by portage.cpv_expand() when the package name is ambiguous due to the existence of multiple matches in different categories. This inherits from ValueError, for backward compatibility with calling code that already handles ValueError.

Instance Methods [hide private]
 
__str__(self)
str(x)
source code

Inherited from exceptions.ValueError: __init__, __new__

Inherited from PortageException: __unicode__

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

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

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)