Handling Exceptions
Try-except exception handler blocks protect all calls to the fax service provider (FSP) functions. If the fax service detects an exception in the FSP DLL, the service will consider the operation as failed and will proceed accordingly, as if the FSP function returned FALSE.
It is recommended that FSPs also use try-except blocks to catch errors and then handle them in an appropriate manner. For more information, see Structured Exception Handling.