[Tutor] Class as Exception

Sean 'Shaleh' Perry shalehperry@attbi.com
Sun Feb 9 13:21:16 2003


On Sunday 09 February 2003 04:42, Gon=E7alo Rodrigues wrote:

> To amplify on S. Perry answer, the line
>
> raise n, tst
>
> is effectively raise n(tst), that is, if you provide args to the except=
ion,
> it must be an instance. If no args are given, the class (derived from
> Exception) is enough.
>

thanks, I new there was a reason but could not come up with it.