Comment 4 for bug 337662

Revision history for this message
Laurent Peuch (psycojoker) wrote : Re: [Bug 337662] Re: Use proper exceptions

It was working, what did you broke ?

2009/5/7 Olivier Le Thanh Duong <email address hidden>

> reopening. the new exceptions don't work.
> You should import the globals module where they are.
> And whey you raise use globals.exceptionname
>
> ** Changed in: pyhalebarde
> Status: Fix Committed => Confirmed
>
> --
> Use proper exceptions
> https://bugs.launchpad.net/bugs/337662
> You received this bug notification because you are a member of
> pyhalebarde dev team, which is subscribed to pyHalebarde.
>
> Status in pyHalebarde: an adaptation of "Halebarde et Gonfanon" with
> pygame: Confirmed
>
> Bug description:
> The way we use exception isn't right. The explaination message of the
> exception should be in the definition of the exception itself, not given
> when we raise it
>