"Stephen Leake" a �crit dans le message de news:mailman.240.1081689629.327.comp.lang.ada@ada-france.org... > For example, I'm working on a database GUI. The low-level database > interface raises Database_Error with a string parameter. I have to > parse the string to get the actual database error code. It would be > simpler, and actually clearer, if the error code were avaialble as a > parameter. > If my program is not multi-tasked, I just store the error context in some global variables of the package, with accessor functions. If it is multi-tasked, I use task attributes. No need for exception parameters here. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr