Python has a way to handle exceptions with the try: and except: statements. It is possible to name a specific exception with the except: statement to handle specific exceptions e.g. to handle a division by zero with 'except ZeroDivisionError:'. Exceptions not matching the exception specified in the except: clause are passed on to outer try: statements. I found no way to use Symbian specific error values with the except: statement e.g. 'except KErrNotFound:'
How can Symbian specific error values (e.g. KErrNotFound) be used within an except: statement?
Thanks for any hints
Martin

Reply With Quote

