From: serious@clerk.com (Noam Kloos)
Subject: error recovery
Date: Fri, 11 May 2001 13:30:22 GMT
Date: 2001-05-11T13:28:15+00:00 [thread overview]
Message-ID: <3afbe7e2.191078067@news.nl.uu.net> (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.
next reply other threads:[~2001-05-11 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-11 13:30 Noam Kloos [this message]
2001-05-11 14:02 ` error recovery Staffan Dittmer
2001-05-11 14:42 ` Ehud Lamm
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox