comp.lang.ada
 help / color / mirror / Atom feed
* error recovery
@ 2001-05-11 13:30 Noam Kloos
  2001-05-11 14:02 ` Staffan Dittmer
  0 siblings, 1 reply; 3+ messages in thread
From: Noam Kloos @ 2001-05-11 13:30 UTC (permalink / raw)


Hello,

I have written a small program and I don't like the exeception
handlling;

Normally when Name_Error my program creates the missing file.
But after exception has been raised the program ends.
So my way to do it was; when Name_Error; Create File, call the program
itself.

I get a possible infinite recursion warning, but wont get storage
error while the action can occur only once.

This is my way to do error recovery (something that belongs to OOPS)
http://www.noam.nl/ada95/action.zip

Is there a better way to realise error recovery in Ada?
Noam.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-11 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-11 13:30 error recovery Noam Kloos
2001-05-11 14:02 ` Staffan Dittmer
2001-05-11 14:42   ` Ehud Lamm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox