Next / Previous / Contents / TCC Help System / NM Tech homepage

14.8. The raise statement: throwing exceptions

To raise an exception:

raise e, p

where e is the exception to be raised and p is a value to be passed back to any try block that may handle this exception. You may omit p, in which case a value of None is returned.