exceptions

Thomas De Contes <[email protected]>
Newsgroups gmane.comp.lang.ada.france
Message-ID <[email protected]>
bonjour :-)

ça faisait longtemps :-)


Je me lance dans le traitement un tout petit peu poussé des exceptions :

	procedure afficherFenetreErreur (erreur : in Exception_Occurrence;  
genre : in String; Parent : Gtk.Window.Gtk_Window := null);

Ensuite, j'essaye de faire comme l'exemple :
http://www.adaic.org/standards/05rm/html/RM-11-4-3.html

	exception
		when igsw.c.e.i.g.prefs.annulation =>
			null;
		when others =>
			afficherFenetreErreur( others , "imprévue", ,Gtk_Window(w));

Mais ça donne :
error: reserved word "others" cannot be used as identifier

Comment faut il faire, dans ce cas là ?


-- 
Téléassistance / Télémaintenance
http://www.portparallele.com/ThomasDECONTES/

_______________________________________________
Site WWW de l'association Ada-France: http://www.ada-france.org/
[email protected]
http://www.ada-france.org/mailman/listinfo/ada-france
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.