Package pydbg :: Module pdx :: Class pdx
[show private | hide private]
[frames | no frames]

Class pdx

Exception --+
            |
           pdx


This class is used internally for raising custom exceptions and includes support for automated Windows error message resolution and formatting. For example, to raise a generic error you can use:
   raise pdx("Badness occured.")
To raise a Windows API error you can use:
   raise pdx("SomeWindowsApi()", True)

Method Summary
  __init__(self, message, win32_exception)
  __str__(self)
    Inherited from Exception
  __getitem__(...)

Class Variable Summary
NoneType error_code = None                                                                  
NoneType message = None                                                                  

Class Variable Details

error_code

Type:
NoneType
Value:
None                                                                  

message

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Fri Jun 16 17:16:24 2006 http://epydoc.sf.net