Package schrodinger :: Package analysis :: Package visanalysis :: Module vdexception :: Class VDException
[hide private]
[frames] | no frames]

Class VDException

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

This is a simple Exception derived class used by the various VolumeData associated components to denote an error condition.

Instance Methods [hide private]
 
__init__(self, msg, detail=None)
This function creates a new VDException.
 
__str__(self)
This function converts this VDException to a meaningful error message that can be displayed by the Python interpreter.

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, msg, detail=None)
(Constructor)

 

This function creates a new VDException. The msg should describe the error condition. detail may contain a bit more information if that is appropriate.

Parameters:
  • msg (string) - The error message
  • detail (string) - Additional error detail
Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

This function converts this VDException to a meaningful error message that can be displayed by the Python interpreter.

Overrides: object.__str__