comp.lang.ada
 help / color / mirror / Atom feed
* New tools and old exceptions
@ 1997-05-19  0:00 Robert C. Leif, Ph.D.
  1997-05-20  0:00 ` Samuel A. Mize
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Robert C. Leif, Ph.D. @ 1997-05-19  0:00 UTC (permalink / raw)



From: Bob Leif, Ph.D.
To: Comp.Lang.Ada

Many of us need all of the help that we can get. Ada.Exceptions has a
function Exception_Information(X: Exception_Occurrence) return string;
Exception_Occurrence is limited private and no simple information is given
on how to call Exception_Occurrence as an argument based on a name such as
Constraint_Error.
From the error messages that I have been generating, Constraint_Error is an
exception not an Occurrence.
Therefore how does one
Exception
When Constraint_Error =>
obtain the  Exception_Information on the Constraint_Error?
I am posting this to Comp.Lang.Ada; since, I do not believe that this is a
GNAT problem.

I would also like to note for the text book authors, that describing in
detail how to maximize the information available in the Ada exception
handler would be appreciated by the students and other readers.

Thank you.
Bob Leif




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

end of thread, other threads:[~1997-05-21  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-19  0:00 New tools and old exceptions Robert C. Leif, Ph.D.
1997-05-20  0:00 ` Samuel A. Mize
1997-05-20  0:00 ` Stephen Leake
1997-05-20  0:00 ` Jeff Carter
1997-05-21  0:00 ` David C. Hoos, Sr.

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