From: ucivax!gateway@ucbvax.Berkeley.EDU (Kenneth Anderson)
Subject: Re: Exception'IMAGE in Ada9X?
Date: 2 Dec 92 05:57:32 GMT [thread overview]
Message-ID: <9212012156.aa09961@Paris.ics.uci.edu> (raw)
In comp.lang.ada you write:
>In an article kanderso@liege.ICS.UCI.EDU (Kenneth Anderson) writes:
>> <question about Ada9X feature deleted>
>Ask, and ye shall receive...
>Turning to my trusty 9X Mapping Rationale (4.1 for you other
>reviewers out there -- if my info is dated, please shout):
>the example actually goes like this:
>...
>begin
>...
>exception
> when E : others =>
> -- Unhandled exception; log it
> Put(Log_File,
> "Unknown error in task Some_Task: "
> & System.Exception_Name(E)
> & System.Exception_Information(E));
> ... -- Reset data structures as necesary.
>end;
>...
>There's also talk of a third goodie, a type called Exception_Occurrence.
>This type can provide other useful tidbits like stack-traces.
>Pay careful attention to the different syntax in the "when" clause,
>cuz it ain't no typo! This gives us a variable name for our exception,
>which is used when we call Exception_Name.
>Hope this helped.
Thanks. If only we had this feature now! Well, this gives me yet another
reason to look forward to Ada9X!!
Thanks for the quick response,
>dgw
Ken
next reply other threads:[~1992-12-02 5:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-12-02 5:57 Kenneth Anderson [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-12-02 14:31 Exception'IMAGE in Ada9X? enterpoop.mit.edu!linus!linus.mitre.org!news!emery
1992-12-02 4:08 dog.ee.lbl.gov!overload.lbl.gov!agate!spool.mu.edu!darwin.sura.net!zaphod
1992-12-02 3:42 Kenneth Anderson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox