Package schrodinger :: Package infra :: Module mmcheck :: Class MmException
[hide private]
[frames] | no frames]

Class MmException

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

An exception class that specifically indicates the failure of an mmlibs call. The underlying value of the error code returned by the mmlib function can be retrieved through the 'rc' attribute of the exception. The name of the return code can be retrieved through the 'rc_name' attribute of the exception.

Instance Methods [hide private]
 
__init__(self, wrapped_function, args, rc)
Initialize with the wrapped function, arguments used, and the return code.
 
__str__(self)
str(x)

Inherited from exceptions.Exception: __new__

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

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]

__init__(self, wrapped_function, args, rc)
(Constructor)

 

Initialize with the wrapped function, arguments used, and the return code.

Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)