pythoncom.gif
blank.gif blank.gif blank.gif Home Page

Class Exception - An Exception object that is understood by the framework.


SYNOPSIS

import win32com.server.exception
class Exception
  def __init__(self, description = None, scode = None,

DESCRIPTION

If the framework is presented with an exception of type class, it looks for certain known attributes on this class to provide rich error information to the caller.

It should be noted that the framework supports providing this error information via COM Exceptions, or via the ISupportErrorInfo interface.

By using this class, you automatically provide rich error information to the server.

def __init__(self, description = None, scode = None,

Initialize an exception **Params**

description
A string description for the exception.
scode
An integer scode to be returned to the server, if necessary.
source
A string which identifies the source of the error.
helpfile
A string which points to a help file which contains details on the error.
helpContext
An integer context in the help file.
desc
A short-cut for description.

SEE ALSO

win32com.server.exception


blank.gif blank.gif blank.gif Home Page
www_icon.gif

Copyright © Greg Stein, Mark Hammond, Curt Hagenlocher and a few other contributors
All Rights Reserved
Comments to author:
Generated: Sun Apr 20 1997